mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
477 B
21 lines
477 B
<?php
|
|
|
|
use Movim\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
class ChangeLengthEmojiReactionsTable extends Migration
|
|
{
|
|
public function up()
|
|
{
|
|
$this->schema->table('reactions', function (Blueprint $table) {
|
|
$table->string('emoji', 32)->change();
|
|
});
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->schema->table('reactions', function (Blueprint $table) {
|
|
$table->string('emoji', 1)->change();
|
|
});
|
|
}
|
|
}
|