-
Notifications
You must be signed in to change notification settings - Fork 27
Home
Emmanuel Robert Ssebaggala edited this page Aug 23, 2019
·
2 revisions
Welcome to the bts-ce-lite wiki!
# Upgrade
DATABASE_URL=postgres://bodastage:password@localhost:5432/boda yarn run migrate up -m db/migrations
# Downgrade. N is the number of steps down from HEAD
DATABASE_URL=postgres://bodastage:password@localhost:5432/boda yarn run migrate down -m db/migrations N
# Create migrations
DATABASE_URL=postgres://bodastage:password@localhost:5432/boda yarn run migrate create -m db/migrations/ some migration