Unverified Commit 29265628 authored by Gavin Brown's avatar Gavin Brown
Browse files

for some reason SQLite doesn't like primary key columns to be unsigned 馃し

parent ebcc629d
...@@ -490,7 +490,7 @@ sub initialise_database { ...@@ -490,7 +490,7 @@ sub initialise_database {
# create table # create table
# #
$DBH->do("CREATE TABLE IF NOT EXISTS rdnsd ( $DBH->do("CREATE TABLE IF NOT EXISTS rdnsd (
id INTEGER UNSIGNED NOT NULL PRIMARY KEY, id INTEGER NOT NULL PRIMARY KEY,
node_id VARCHAR(255) NOT NULL, node_id VARCHAR(255) NOT NULL,
start_time DATETIME NOT NULL, start_time DATETIME NOT NULL,
end_time DATETIME NOT NULL, end_time DATETIME NOT NULL,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment