Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix alter column to be in 0.10.0-dev and not in 0.8.0-dev
Browse files Browse the repository at this point in the history
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>

This commit fixes the wrongly added
2-alter_promscale_instance_information_column.sql to 0.8.0 when the next
release scheduled was 0.10, meaning the changes to schema wont be
applied. This was a bug.

This commit shifts the alter column file to where it should be, i.e.,
0.10.0/1-alter_promscale_instance_information_column.sql
which means, the existing users when update to 0.10 will have the alter
column.
  • Loading branch information
Harkishen-Singh committed Feb 16, 2022
1 parent d08c138 commit 9391f8c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions pkg/migrations/migration_files_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/pgclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func init() {
PromscaleID = uuid.New()
}

// Post connect validation function, useful for things such as acquiring locks
// LockFunc does connect validation function, useful for things such as acquiring locks
// that should live the duration of the connection
type LockFunc = func(ctx context.Context, conn *pgx.Conn) error

Expand Down

0 comments on commit 9391f8c

Please sign in to comment.