framework/stubs/migrations/update.stub

19 lines
386 B
Plaintext
Raw Normal View History

2015-09-17 12:16:38 +09:30
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
2015-09-17 12:16:38 +09:30
return [
'up' => function (Builder $schema) {
$schema->table('{{table}}', function (Blueprint $table) {
2015-09-17 12:16:38 +09:30
//
});
},
2015-09-17 12:16:38 +09:30
'down' => function (Builder $schema) {
$schema->table('{{table}}', function (Blueprint $table) {
2015-09-17 12:16:38 +09:30
//
});
}
];