From ac426f9523c77612944d689e058fcf1efc5f4d29 Mon Sep 17 00:00:00 2001 From: schrumpel Date: Sat, 24 Feb 2024 15:57:33 +0100 Subject: [PATCH] adding database migration for about table --- .../migrations/2024_02_24_144733_about.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2024_02_24_144733_about.php diff --git a/database/migrations/2024_02_24_144733_about.php b/database/migrations/2024_02_24_144733_about.php new file mode 100644 index 0000000..55445de --- /dev/null +++ b/database/migrations/2024_02_24_144733_about.php @@ -0,0 +1,32 @@ +increments('id'); + $table->longText('content'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('about', function (Blueprint $table) { + $table->dropColumn('about'); + }); + } +}