2024-09-05 09:52:24 +00:00
|
|
|
connect:
|
|
|
|
mysql --user=root --password=$(shell pass show sevenkeys/mysql)
|
2024-11-25 15:03:16 +00:00
|
|
|
|
2024-09-12 12:20:24 +00:00
|
|
|
dump:
|
|
|
|
mysqldump --user=root --password=$(shell pass show sevenkeys/mysql) sevenkeys >sevenkeys.sql
|
2024-11-25 15:03:16 +00:00
|
|
|
|
|
|
|
dev_create:
|
|
|
|
goose mysql "root:$(shell pass show sevenkeys/mysql)@/sevenkeys_development?parseTime=true" up
|
|
|
|
dev_rollback:
|
|
|
|
rm -rf cache/
|
|
|
|
goose mysql "root:$(shell pass show sevenkeys/mysql)@/sevenkeys_development?parseTime=true" reset
|
|
|
|
|
|
|
|
prod_create:
|
|
|
|
goose mysql "root:$(shell pass show sevenkeys/mysql)@/sevenkeys?parseTime=true" up
|
|
|
|
prod_rollback:
|
|
|
|
rm -rf cache/
|
|
|
|
goose mysql "root:$(shell pass show sevenkeys/mysql)@/sevenkeys?parseTime=true" reset
|