dnote/pkg/server/database/migrate.yml
Sung Won Cho 35dc7abfae
Server migration (#214)
* Allow to run server side postgres migration

* Automate migration creation

* Check if sql-migrate exists
2019-06-29 12:31:42 +10:00

8 lines
319 B
YAML

# a configuration for sql-migrate tool. We don't need to configure production,
# because we programmatically connect to the database and run migrations.
# Its main purpose is to generate migrations using `sql-migrate new`
development:
dialect: postgres
datasource: dbname=dnote sslmode=disable
dir: ./migrations