Database migrations. CLI and Golang library.
go
directive in go.mod
to 1.17Thank you for your hard work and all your contributions!
DELETE
ing the schema version table instead of using TRUNCATE
thanks to @florentsolt and @Baumanar (#634)migrate
binary changed from /usr/local/bin/migrate
to /usr/bin/migrate
migrate
with postgres, you need to ensure that no migrations are currently running and no old versions of migrate will run at the same time as new versions. The inputs for generating the advisory lock changed so this version will lock with a different key than previous versions.ROW DELETION POLICY
, ALTER DATABASE
and parsing keywords and functions in case insensitive-all
flag usage from drop
to down
(#522) by @Juneezeemigrate
with postgres, you need to ensure that no migrations are currently running and no old versions of migrate will run at the same time as new versions. The inputs for generating the advisory lock changed so this version will lock with a different key than previous versions.-all
flag usage from drop
to down
(#522) by @Juneezee