migration from server

This commit is contained in:
Ubuntu
2025-10-01 11:27:32 +07:00
parent c90529c847
commit 92d4fb8d38
2 changed files with 27 additions and 26 deletions

No files matched your search

+4 -3
View File
@@ -9,14 +9,15 @@ data "external_schema" "gorm" {
env "gorm" {
src = data.external_schema.gorm.url
dev = "postgres://moko:password@localhost:5432/simrs_vx3?sslmode=disable"
dev = "postgres://simrs:p@ssw0rd@localhost:5432/simrs-diff-01?sslmode=disable"
migration {
dir = "file://migrations"
}
url = "postgres://moko:password@localhost:5432/simrs_vx1?sslmode=disable"
url = "postgres://simrs:p@ssw0rd@localhost:5432/simrs-01?sslmode=disable"
format {
migrate {
diff = "{{ sql . \" \" }}"
}
}
}
}