added go-migrate Migrations
This commit is contained in:
10
example.atlas.hcl
Normal file
10
example.atlas.hcl
Normal file
@@ -0,0 +1,10 @@
|
||||
# The "dev" environment represents our local testings.
|
||||
env "local" {
|
||||
url = "postgres://user:password@:5432/database?search_path=public&sslmode=disable"
|
||||
migration {
|
||||
dir = "file://migrations"
|
||||
format = golang-migrate
|
||||
}
|
||||
dev = "docker://postgres/16/dev?search_path=public"
|
||||
src = "file://DB/initdb/01_schema.sql"
|
||||
}
|
||||
Reference in New Issue
Block a user