From 26a187bd063aa5a7a2a59c3bffc380b9d36191ac Mon Sep 17 00:00:00 2001 From: hbinded Date: Mon, 21 Sep 2015 15:51:29 +0200 Subject: [PATCH] Fix sql error This fixes the import error
ERROR 1072 (42000): Key column 'read' doesn't exist in table
--- sql/Aauth_v2.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/Aauth_v2.sql b/sql/Aauth_v2.sql index 1a84a64..7696cb9 100644 --- a/sql/Aauth_v2.sql +++ b/sql/Aauth_v2.sql @@ -78,7 +78,7 @@ CREATE TABLE `aauth_pms` ( `date_sent` datetime DEFAULT NULL, `date_read` datetime DEFAULT NULL, PRIMARY KEY (`id`), - KEY `full_index` (`id`,`sender_id`,`receiver_id`,`read`) + KEY `full_index` (`id`,`sender_id`,`receiver_id`,`date_read`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ----------------------------