framework/stubs/migrations/update.stub

19 lines
386 B
Plaintext
Raw Normal View History

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