Renamed project from MajoraOTAStore to Appbuild (+ some nice features and fixes)
PR
How to migrate from v2 to v3:
- backup your database (
mysqldump ... > my-backup.sql
) make prod-deploy
(this should createappbuild_
tables)- remove all entries in
migration_versions
except the last20170915074948
- moves your data from older tables to newer:
START TRANSACTION;
INSERT INTO appbuild_user (id, email, password, roles, enabled, firstname, lastname, created_at, updated_at) SELECT id, email, password, roles, enabled, firstname, lastname, created_at, updated_at FROM majoraotastore_user;
INSERT INTO appbuild_application (id, label, description, support, package_name, enabled, created_at, updated_at) SELECT id, label, description, support, package_name, enabled, created_at, updated_at FROM majoraotastore_application;
INSERT INTO appbuild_application_user (application_id, user_id) SELECT application_id, user_id FROM majoraotastore_application_user;
INSERT INTO appbuild_build (id, application_id, version, comment, file_path, enabled, created_at, updated_at) SELECT id, application_id, version, comment, file_path, enabled, created_at, updated_at FROM majoraotastore_build;
INSERT INTO appbuild_build_token (id, build_id, token, expired_at) SELECT id, build_id, token, expired_at FROM majoraotastore_build_token;
COMMIT;
check your data, then delete your majoraotastore_*
tables