Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
longtext for message
Browse files Browse the repository at this point in the history
  • Loading branch information
cmg_anton_nikolaev committed Jan 11, 2016
1 parent 501ba72 commit 18daa4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/m160111_084713_translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ class m160111_084713_translate extends Migration
public function safeUp()
{
$this->alterColumn('{{language_source}}', 'message', 'longtext NULL');
$this->alterColumn('{{language_translate}}', 'message', 'longtext NULL');
$this->alterColumn('{{language_translate}}', 'translation', 'longtext NULL');
}

public function safeDown()
{
$this->alterColumn('{{language_source}}', 'message', Schema::TYPE_TEXT . ' NULL');
$this->alterColumn('{{language_translate}}', 'message', Schema::TYPE_TEXT . ' NULL');
$this->alterColumn('{{language_translate}}', 'translation', Schema::TYPE_TEXT . ' NULL');
}
}

0 comments on commit 18daa4f

Please sign in to comment.