Fixes archived field missing default value bug #1116
This commit is contained in:
parent
b24b01ec65
commit
0a752f6245
|
@ -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('default' => 0));
|
||||||
$project->save();
|
$project->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue