Skip to content

Commit c4b3885

Browse files
author
Marc Teyssier
committed
Add primary key for DBAL
1 parent f1ecab7 commit c4b3885

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Mouf/Database/Patcher/DatabasePatchInstaller.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public static function createPatchTable(Connection $dbalConnection) {
150150
$table->addColumn('status', 'string', array("length" => 10));
151151
$table->addColumn('exec_date', 'datetime');
152152
$table->addColumn('error_message', 'text');
153+
$table->setPrimaryKey(['id']);
153154
$sm->createTable($table);
154155
}
155156

0 commit comments

Comments
 (0)