update db field

This commit is contained in:
mbazekin 2016-09-22 17:10:32 +03:00
parent 64b0f60368
commit 4223aabd55
2 changed files with 2 additions and 3 deletions

View file

@ -14,7 +14,7 @@ class ErrorsTable extends AbstractMigration
$table->addColumn('line_start', 'integer', array('signed' => false, 'null' => true));
$table->addColumn('line_end', 'integer', array('signed' => false, 'null' => true));
$table->addColumn('severity', 'integer', array('signed' => false, 'limit' => MysqlAdapter::INT_TINY));
$table->addColumn('message', 'string', array('limit' => 250));
$table->addColumn('message', 'text');
$table->addColumn('created_date', 'datetime');
$table->addIndex(array('build_id', 'created_date'), array('unique' => false));
$table->addForeignKey('build_id', 'build', 'id', array('delete'=> 'CASCADE', 'update' => 'CASCADE'));

View file

@ -127,8 +127,7 @@ class BuildErrorBase extends Model
'default' => null,
),
'message' => array(
'type' => 'varchar',
'length' => 250,
'type' => 'text',
'default' => null,
),
'created_date' => array(