From afc11be50bb78c30e248b3baa0f35cbadf649c9c Mon Sep 17 00:00:00 2001 From: purple Date: Sat, 8 Apr 2023 16:13:22 +0200 Subject: [PATCH] Merge all migrations into one file This has some changes that may break the configuration page of the "Blueprint" extension. This will be fixed in a future commit. --- ...23_02_25_194901_create_blueprint_test.php} | 5 +++ ....php => -2023_03_06_180942_create_key.php} | 5 +++ ...14455_create_blueprint_developer_mode.php} | 5 +++ ...23_04_08_160505_create_blueprint_table.php | 36 +++++++++++++++++++ 4 files changed, 51 insertions(+) rename database/migrations/{2023_02_25_194901_create_blueprint_test.php => -2023_02_25_194901_create_blueprint_test.php} (78%) rename database/migrations/{2023_03_06_180942_create_key.php => -2023_03_06_180942_create_key.php} (76%) rename database/migrations/{2023_04_07_114455_create_blueprint_developer_mode.php => -2023_04_07_114455_create_blueprint_developer_mode.php} (79%) create mode 100644 database/migrations/2023_04_08_160505_create_blueprint_table.php diff --git a/database/migrations/2023_02_25_194901_create_blueprint_test.php b/database/migrations/-2023_02_25_194901_create_blueprint_test.php similarity index 78% rename from database/migrations/2023_02_25_194901_create_blueprint_test.php rename to database/migrations/-2023_02_25_194901_create_blueprint_test.php index ca87ad1..ee9380a 100644 --- a/database/migrations/2023_02_25_194901_create_blueprint_test.php +++ b/database/migrations/-2023_02_25_194901_create_blueprint_test.php @@ -1,5 +1,10 @@ id(); + $table->string('placeholder')->nullable(); // Used for work-in-progress options. + $table->boolean('developer')->nullable(); + $table->timestamp('timestamp')->useCurrent()->onUpdate(null); + }); + + Schema::create('bpkey', function (Blueprint $table) {$table->id();$table->string('k')->nullable();$table->boolean('v')->nullable();$table->timestamp('timestamp')->useCurrent()->onUpdate(null);}); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blueprint'); + Schema::dropIfExists('bpkey'); + } +} \ No newline at end of file