Skip to content

Commit 2b6f97f

Browse files
tvdijenmonkeyiq
authored andcommitted
Fix SQLLite DB migration (#2474)
Closes #2460
1 parent 112b736 commit 2b6f97f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SimpleSAML/Store/SQLStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function initTableVersionTable(): void
159159
*/
160160
$update = [
161161
'CREATE TABLE ' . $this->prefix .
162-
'_tableVersion (_name VARCHAR(30) PRIMARY KEY NOT NULL, _version INTEGER NOT NULL)',
162+
'_tableVersion_new (_name VARCHAR(30) PRIMARY KEY NOT NULL, _version INTEGER NOT NULL)',
163163
'INSERT INTO ' . $this->prefix . '_tableVersion_new SELECT * FROM ' .
164164
$this->prefix . '_tableVersion',
165165
'DROP TABLE ' . $this->prefix . '_tableVersion',

0 commit comments

Comments
 (0)