Index: branches/version-2_12-dev/html/install/sql/create_table_mysql.sql
===================================================================
--- branches/version-2_12-dev/html/install/sql/create_table_mysql.sql	(revision 21455)
+++ branches/version-2_12-dev/html/install/sql/create_table_mysql.sql	(revision 21458)
@@ -1152,8 +1152,10 @@
 
 CREATE TABLE dtb_plugin_hookpoint (
+    id int NOT NULL,
     plugin_id int NOT NULL,
     hook_point varchar(255) NOT NULL,
     create_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-    update_date timestamp NOT NULL
+    update_date timestamp NOT NULL,
+    PRIMARY KEY (id)
 ) ENGINE=InnoDB;
 
Index: branches/version-2_12-dev/html/install/sql/create_table_pgsql.sql
===================================================================
--- branches/version-2_12-dev/html/install/sql/create_table_pgsql.sql	(revision 21455)
+++ branches/version-2_12-dev/html/install/sql/create_table_pgsql.sql	(revision 21458)
@@ -1152,8 +1152,10 @@
 
 CREATE TABLE dtb_plugin_hookpoint (
+    id int NOT NULL,
     plugin_id int NOT NULL,
     hook_point text NOT NULL,
     create_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-    update_date timestamp NOT NULL
+    update_date timestamp NOT NULL,
+    PRIMARY KEY (plugin_id)
 );
 
