From 36c66c75fb6fd72dfb36e4e9b9b8c332737aeb1d Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 31 Jan 2024 21:17:56 +0000 Subject: Add database migrations --- ...4_01_31_204815_create_guestbook__bans_table.php | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 database/migrations/2024_01_31_204815_create_guestbook__bans_table.php (limited to 'database/migrations/2024_01_31_204815_create_guestbook__bans_table.php') diff --git a/database/migrations/2024_01_31_204815_create_guestbook__bans_table.php b/database/migrations/2024_01_31_204815_create_guestbook__bans_table.php new file mode 100644 index 0000000..6f0a959 --- /dev/null +++ b/database/migrations/2024_01_31_204815_create_guestbook__bans_table.php @@ -0,0 +1,29 @@ +increments('id'); + $table->string('ip_address', 40); + $table->string('reason', 50); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('guestbook__bans'); + } +}; -- cgit v1.2.3-54-g00ecf