Public Access
first commit
This commit is contained in:
commit
fcae679714
75 files changed
+12701
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('bands', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string(column: 'name');
|
||||
$table->string(column: 'genre');
|
||||
$table->string(column: 'youtube');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('bands');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user