From 673c2642464ed52573efdbc60dd31f55ee2fd0c9 Mon Sep 17 00:00:00 2001 From: Jeffrey Davidson <3826104+JeffreyDavidson@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:14:18 -0500 Subject: [PATCH] Fix name of tables --- ... 2024_09_25_172420_create_titles_activations_table.php} | 7 +++---- ...2024_10_30_123147_create_stables_activations_table.php} | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) rename database/migrations/{2024_09_25_172420_create_title_activations_table.php => 2024_09_25_172420_create_titles_activations_table.php} (77%) rename database/migrations/{2024_10_30_123147_create_stable_activations_table.php => 2024_10_30_123147_create_stables_activations_table.php} (82%) diff --git a/database/migrations/2024_09_25_172420_create_title_activations_table.php b/database/migrations/2024_09_25_172420_create_titles_activations_table.php similarity index 77% rename from database/migrations/2024_09_25_172420_create_title_activations_table.php rename to database/migrations/2024_09_25_172420_create_titles_activations_table.php index 693c4a5a4..ef03f037f 100644 --- a/database/migrations/2024_09_25_172420_create_title_activations_table.php +++ b/database/migrations/2024_09_25_172420_create_titles_activations_table.php @@ -5,14 +5,13 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class extends Migration -{ +return new class extends Migration { /** * Run the migrations. */ public function up(): void { - Schema::create('title_activations', function (Blueprint $table) { + Schema::create('titles_activations', function (Blueprint $table) { $table->id(); $table->foreignIdFor(Title::class); $table->datetime('started_at'); @@ -26,6 +25,6 @@ public function up(): void */ public function down(): void { - Schema::dropIfExists('title_activations'); + Schema::dropIfExists('titles_activations'); } }; diff --git a/database/migrations/2024_10_30_123147_create_stable_activations_table.php b/database/migrations/2024_10_30_123147_create_stables_activations_table.php similarity index 82% rename from database/migrations/2024_10_30_123147_create_stable_activations_table.php rename to database/migrations/2024_10_30_123147_create_stables_activations_table.php index 67a0e8a22..ced910d05 100644 --- a/database/migrations/2024_10_30_123147_create_stable_activations_table.php +++ b/database/migrations/2024_10_30_123147_create_stables_activations_table.php @@ -11,7 +11,7 @@ */ public function up(): void { - Schema::create('stable_activations', function (Blueprint $table) { + Schema::create('stables_activations', function (Blueprint $table) { $table->id(); $table->foreignIdFor(Stable::class); $table->datetime('started_at'); @@ -25,6 +25,6 @@ public function up(): void */ public function down(): void { - Schema::dropIfExists('stable_activations'); + Schema::dropIfExists('stables_activations'); } };