diff --git a/resources/console/template/model_table_localised.php b/resources/console/template/model_table_localised.php
index <HASH>..<HASH> 100644
--- a/resources/console/template/model_table_localised.php
+++ b/resources/console/template/model_table_localised.php
@@ -21,7 +21,7 @@ CREATE TABLE `{{TABLE_WITH_PREFIX}}_localised` (
     `created_by` int(11) unsigned DEFAULT NULL,
     `modified` datetime NOT NULL,
     `modified_by` int(11) unsigned DEFAULT NULL,
-    PRIMARY KEY (`id`, `language`, `region`),
+    UNIQUE KEY (`id`, `language`, `region`),
     KEY `created_by` (`created_by`),
     KEY `modified_by` (`modified_by`),
     CONSTRAINT `{{TABLE_WITH_PREFIX}}_localised_ibfk_1` FOREIGN KEY (`id`) REFERENCES `{{TABLE_WITH_PREFIX}}` (`id`) ON DELETE CASCADE,
Fix sisue with creating localised models