Skip to content

Renamed project from MajoraOTAStore to Appbuild (+ some nice features and fixes)

Compare
Choose a tag to compare
@Oliboy50 Oliboy50 released this 15 Sep 12:05
· 8 commits to master since this release

PR

How to migrate from v2 to v3:

  • backup your database (mysqldump ... > my-backup.sql)
  • make prod-deploy (this should create appbuild_ tables)
  • remove all entries in migration_versions except the last 20170915074948
  • 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