Skip to content

Commit ebf199e

Browse files
committed
Merge pull request #16 from marcteyssier/2.0
Fix bug for DBAL
2 parents cfe442c + 6671e53 commit ebf199e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mouf/Database/Patcher/DatabasePatchInstaller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public static function createPatchTable(Connection $dbalConnection) {
149149
$table->addColumn('unique_name', 'string', array("length" => 255, 'customSchemaOptions' => array('unique' => true)));
150150
$table->addColumn('status', 'string', array("length" => 10));
151151
$table->addColumn('exec_date', 'datetime');
152-
$table->addColumn('error_message', 'text');
152+
$table->addColumn('error_message', 'text', ['notnull' => false]);
153153
$table->setPrimaryKey(['id']);
154154
$sm->createTable($table);
155155
}

0 commit comments

Comments
 (0)