1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

Merge branch 'master' into 1236-user-preferences

This commit is contained in:
Daniël Klabbers
2019-07-09 21:19:41 +02:00
149 changed files with 1346 additions and 460 deletions

View File

@@ -12,16 +12,17 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
// https://github.com/doctrine/dbal/issues/2566#issuecomment-480217999
return [
'up' => function (Builder $schema) {
$schema->table('posts', function (Blueprint $table) {
$table->mediumText('content')->change();
$table->mediumText('content')->comment(' ')->change();
});
},
'down' => function (Builder $schema) {
$schema->table('posts', function (Blueprint $table) {
$table->text('content')->change();
$table->text('content')->comment('')->change();
});
}
];