Merge 5478c8ffc5
into 64b0f60368
This commit is contained in:
commit
61af12d83b
|
@ -10,7 +10,7 @@ class ArchiveProject extends AbstractMigration
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
$project = $this->table('project');
|
$project = $this->table('project');
|
||||||
$project->addColumn('archived', 'boolean');
|
$project->addColumn('archived', 'boolean', array('null' => false, 'default' => 0));
|
||||||
$project->save();
|
$project->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ class ErrorsTable extends AbstractMigration
|
||||||
$table->addColumn('line_start', 'integer', array('signed' => false, 'null' => true));
|
$table->addColumn('line_start', 'integer', array('signed' => false, 'null' => true));
|
||||||
$table->addColumn('line_end', '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('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->addColumn('created_date', 'datetime');
|
||||||
$table->addIndex(array('build_id', 'created_date'), array('unique' => false));
|
$table->addIndex(array('build_id', 'created_date'), array('unique' => false));
|
||||||
$table->addForeignKey('build_id', 'build', 'id', array('delete'=> 'CASCADE', 'update' => 'CASCADE'));
|
$table->addForeignKey('build_id', 'build', 'id', array('delete'=> 'CASCADE', 'update' => 'CASCADE'));
|
||||||
|
|
Loading…
Reference in a new issue