mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 02:30:10 +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}}');
|
|
}
|
|
];
|