Skip to content

Commit

Permalink
Fix name of tables
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDavidson committed Nov 19, 2024
1 parent 9f1f422 commit 673c264
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -26,6 +25,6 @@ public function up(): void
*/
public function down(): void
{
Schema::dropIfExists('title_activations');
Schema::dropIfExists('titles_activations');
}
};
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -25,6 +25,6 @@ public function up(): void
*/
public function down(): void
{
Schema::dropIfExists('stable_activations');
Schema::dropIfExists('stables_activations');
}
};

0 comments on commit 673c264

Please sign in to comment.