Index: branches/dev/html/install/sql/create_table_mysql.sql
===================================================================
--- branches/dev/html/install/sql/create_table_mysql.sql	(revision 14896)
+++ branches/dev/html/install/sql/create_table_mysql.sql	(revision 15014)
@@ -177,5 +177,5 @@
 
 CREATE TABLE dtb_mailtemplate (
-    template_id int NOT NULL,
+    template_id int auto_increment primary key NOT NULL UNIQUE,
     subject text,
     header text,
