From 976f6fa40ff9a18ea8660f8289cce0e154eb0a15 Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Thu, 5 Dec 2013 22:47:43 +0100 Subject: [PATCH] Fix missing column in database setup script --- extras/post-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/post-install.sh b/extras/post-install.sh index c222ce9c..2b5e7468 100644 --- a/extras/post-install.sh +++ b/extras/post-install.sh @@ -144,7 +144,8 @@ CREATE TABLE GBInfo ( ) ENGINE = MYISAM; CREATE TABLE Link ( mrnaAcc char(20) NOT NULL, - protAcc char(20) NOT NULL, + protAcc char(20) DEFAULT NULL, + created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (mrnaAcc), UNIQUE KEY protAcc (protAcc) ) ENGINE = MYISAM; -- GitLab