mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
Use the new migration shortcuts in most of core's migrations
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Schema\Builder;
|
||||
|
||||
// We need a full custom migration here, because we need to add the fulltext
|
||||
// index for the content with a raw SQL statement after creating the table.
|
||||
return [
|
||||
'up' => function (Builder $schema) {
|
||||
$schema->create('posts', function (Blueprint $table) {
|
||||
|
Reference in New Issue
Block a user