Explorar el Código

#4971 Build-in API support

Aleksandr Trofimov hace 5 meses
padre
commit
2f2846de0a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      install/sql/system.sql

+ 2 - 1
install/sql/system.sql

@@ -6795,7 +6795,8 @@ CREATE TABLE `sys_api_keys` (
   `title` varchar(255) NOT NULL,
   `key` varchar(48) NOT NULL,
   `order` int(11) NOT NULL,
-  PRIMARY KEY (`id`)
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `key` (`key`)
 );
 
 CREATE TABLE `sys_api_origins` (