From 25386b6a4972a503fd32c9c3144cba78129dd1b0 Mon Sep 17 00:00:00 2001 From: purple Date: Sun, 26 Feb 2023 14:36:42 +0100 Subject: [PATCH] Created database migration Currently only for placeholders, just to test my admin thingy. --- ...023_02_25_194901_create_blueprint_test.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2023_02_25_194901_create_blueprint_test.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 new file mode 100644 index 0000000..3813471 --- /dev/null +++ b/database/migrations/2023_02_25_194901_create_blueprint_test.php @@ -0,0 +1,34 @@ +id(); + $table->string('placeholder:1')->nullable(); + $table->string('placeholder:2')->nullable(); + $table->string('placeholder:3')->nullable(); + $table->timestamp('timestamp')->useCurrent()->onUpdate(null); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blueprint'); + } +} \ No newline at end of file