You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.
MANAGEMENT_APP_PATH = `bundle show lims-management-app | grep lims-management-app`
migrate_test_mysql:
mysql -uroot -p -e "DROP DATABASE IF EXISTS test_lims_api; CREATE DATABASE test_lims_api DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
bundle exec sequel -m $(MANAGEMENT_APP_PATH)/db/migrations -e test config/database.yml
migrate_dev_mysql:
mysql -uroot -p -e "DROP DATABASE IF EXISTS management_development; CREATE DATABASE management_development DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;"
bundle exec sequel -m $(MANAGEMENT_APP_PATH)/db/migrations -e development config/database.yml
migrate_test:
bundle exec sequel -m $(MANAGEMENT_APP_PATH)/db/migrations -e test config/database.yml
migrate_dev:
bundle exec sequel -m $(MANAGEMENT_APP_PATH)/db/migrations -e development config/database.yml