Explorar o código

*** empty log message ***

Jan Janak %!s(int64=23) %!d(string=hai) anos
pai
achega
e041959924
Modificáronse 1 ficheiros con 3 adicións e 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)
 );