Skip to content

Commit

Permalink
Fixed SQLite query.
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazka committed Dec 5, 2016
1 parent 635131b commit 2e7a575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/portal/html/install/upgrade-v2.5.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class settings {
$dbh = $common->pdoOpen();

// Add the links table.
$sql = "CREATE TABLE ".$dbPrefix."links(id INT(11) AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100) NOT NULL, address VARCHAR(250) NOT NULL);";
$sql = "CREATE TABLE ".$settings::db_prefix."links(INTEGER PRIMARY KEY, name TEXT NOT NULL, address TEXT NOT NULL);";
$sth = $dbh->prepare($sql);
$sth->execute();
$sth = NULL;
Expand Down

0 comments on commit 2e7a575

Please sign in to comment.