https://github.com/aleitner/database-migrator-example
https://github.com/aleitner/database-migrator-example
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aleitner/database-migrator-example
- Owner: aleitner
- Created: 2021-06-28T15:30:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T15:30:37.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T07:35:18.145Z (over 1 year ago)
- Language: Makefile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Database Migration
## Dependencies
* Docker
## Makefile
* download-postgres - Download latest postgres image
* postgres - Run postgres container
* createdb - Create db on postgres container
* dropdb - Drop db from postgres container
* migrateup - Run db migrations
* migratedown - Undo db migrations