From: janw Date: Thu, 5 Mar 2009 14:58:49 +0000 (+0000) Subject: sqlite needs id INTEGER PRIMARY KEY X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d5b54ff148a0c4cd253e388c32e065f128ba1a2d;p=gosa.git sqlite needs id INTEGER PRIMARY KEY git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13501 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-si/gosa-si-server b/trunk/gosa-si/gosa-si-server index 69f8facd8..7e0d203a4 100755 --- a/trunk/gosa-si/gosa-si-server +++ b/trunk/gosa-si/gosa-si-server @@ -200,7 +200,7 @@ my $arch = "i386"; # holds all messages which should be delivered to a user our $messaging_db; our $messaging_tn = "messaging"; -our @messaging_col_names = ("id INTEGER", "subject TEXT", "message_from VARCHAR(255)", "message_to VARCHAR(255)", +our @messaging_col_names = ("id INTEGER PRIMARY KEY", "subject TEXT", "message_from VARCHAR(255)", "message_to VARCHAR(255)", "flag VARCHAR(255)", "direction VARCHAR(255)", "delivery_time VARCHAR(255)", "message TEXT", "timestamp VARCHAR(14)" ); my $messaging_file_name;