ThinkUpLLC/ThinkUp-dev-vm

Run thinkup_web database migrations via install/cli/upgrade.php

Opened this issue · 0 comments

Right now thinkup.sh builds the thinkup_web database using build-db_mysql-upcoming-release.sql. What it should do is build it using build-db_mysql.sql and then go through the proper upgrade process via webapp/admin/cli/upgrade.php --with-new-sql.

That will properly populate a tu_migrations table and make further migrations to thinkup_web possible.

Right now the upgrade.php script prompts the user about backing up data. Ideally we add a --force parameter which will silence the prompt so we can easily script the upgrade.