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

18 lines
381 B
PHP

<?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();
});
}
}