From d4a44e60890862e843af4a2225bd7fe88062c1bc Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 5 Jun 2020 19:44:40 +0200 Subject: [PATCH] Hold the DB changes for now. --- config/firefly.php | 4 +- .../2020_06_05_061116_changes_for_v530.php | 63 ------------------- 2 files changed, 2 insertions(+), 65 deletions(-) delete mode 100644 database/migrations/2020_06_05_061116_changes_for_v530.php diff --git a/config/firefly.php b/config/firefly.php index e1284db118..ae0f91fbb1 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -144,9 +144,9 @@ return [ ], 'encryption' => null === env('USE_ENCRYPTION') || true === env('USE_ENCRYPTION'), - 'version' => '5.2.6', + 'version' => '5.2.7', 'api_version' => '1.1.0', - 'db_version' => 14, + 'db_version' => 13, 'maxUploadSize' => 15242880, 'send_error_message' => env('SEND_ERROR_MESSAGE', true), 'site_owner' => env('SITE_OWNER', ''), diff --git a/database/migrations/2020_06_05_061116_changes_for_v530.php b/database/migrations/2020_06_05_061116_changes_for_v530.php deleted file mode 100644 index 32c939a80c..0000000000 --- a/database/migrations/2020_06_05_061116_changes_for_v530.php +++ /dev/null @@ -1,63 +0,0 @@ -dropColumn('provider'); - } - ); - Schema::dropIfExists('object_groupables'); - Schema::dropIfExists('object_groups'); - } - - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::table( - 'users', static function (Blueprint $table) { - $table->string('provider', 50)->nullable(); - } - ); - - if (!Schema::hasTable('object_groups')) { - Schema::create( - 'object_groups', static function (Blueprint $table) { - $table->increments('id'); - $table->timestamps(); - $table->softDeletes(); - $table->string('title', 255); - $table->mediumInteger('order', false, true)->default(0); - } - ); - } - - if (!Schema::hasTable('object_groupables')) { - Schema::create( - 'object_groupables', static function (Blueprint $table) { - $table->integer('object_group_id'); - $table->integer('object_groupable_id', false, true); - $table->string('object_groupable_type', 255); - } - ); - } - } -}