From df7f3bc8a169d5e8212f6712d6557ae79ca611cd Mon Sep 17 00:00:00 2001 From: Erik Hommel <hommel@ee-atwork.nl> Date: Thu, 12 Mar 2015 10:41:27 +0100 Subject: [PATCH] added primary key to civirule_action table --- sql/createCiviruleRuleAction.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/createCiviruleRuleAction.sql b/sql/createCiviruleRuleAction.sql index f869c12..85965c0 100755 --- a/sql/createCiviruleRuleAction.sql +++ b/sql/createCiviruleRuleAction.sql @@ -4,6 +4,7 @@ CREATE TABLE IF NOT EXISTS civirule_rule_action ( action_id INT UNSIGNED NULL, action_params TEXT NULL, is_active TINYINT NULL DEFAULT 1, + PRIMARY KEY (id), UNIQUE INDEX id_UNIQUE (id ASC), INDEX fk_ra_rule_idx (rule_id ASC), INDEX fk_ra_action_idx (action_id ASC), -- GitLab