Init
This commit is contained in:
17
database/migrations/2024_04_05_145706_rename_tables.php
Normal file
17
database/migrations/2024_04_05_145706_rename_tables.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::rename('contact', 'contacts');
|
||||
Schema::rename('episode', 'episodes');
|
||||
Schema::rename('hentai', 'hentais');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user