mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 05:53:45 +08:00
17 lines
353 B
Plaintext
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}}');
|
|
}
|
|
];
|