Explorar el Código

*** empty log message ***

Jan Janak hace 23 años
padre
commit
e041959924
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      scripts/mysql-create.sql

+ 3 - 2
scripts/mysql-create.sql

@@ -15,7 +15,8 @@ create table location (
 
 create table auth (
 	realm varchar(255) not null,
-	user varchar(255) not null,
+	user varchar(50) not null,
 	ha1 varchar(33) not null,
-	last_modified timestamp(14)
+	last_modified timestamp(14),
+	key(user,realm)
 );