1
0
mirror of https://github.com/flarum/core.git synced 2025-02-22 18:22:34 +01:00

17 lines
353 B
Plaintext

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
return [
'up' => function (Builder $schema) {
$schema->create('{{table}}', function (Blueprint $table) {
$table->increments('id');
});
},
'down' => function (Builder $schema) {
$schema->drop('{{table}}');
}
];