medialibrary-helper/tests/migrations/2023_03_07_000000_initial_m...

18 lines
381 B
PHP
Raw Permalink Normal View History

2023-03-07 15:31:24 +01:00
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class InitialMigration extends Migration {
public function up(): void
{
Schema::create('posts', function($table) {
$table->id();
$table->string('title');
$table->string('content');
$table->timestamps();
});
}
}