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 41de54e commit db9c46f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions migrations/m160111_084713_translate.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

use yii\db\Schema;
use yii\db\Migration;

class m160111_084713_translate extends Migration
{
public function safeUp()
{
$this->alterColumn('{{language_source}}', 'message', 'longtext NULL');
}

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

0 comments on commit db9c46f

Please sign in to comment.