From c99c487ee7ecf30950909d82c81ba96093c3c4f9 Mon Sep 17 00:00:00 2001
From: Shireesh Anjal <shireesh@gluster.com>
Date: Mon, 1 Aug 2011 22:05:53 +0530
Subject: Story #54 - Tool to reset password of the "gluster" user

---
 .../WebContent/data/scripts/1.0.0/1-security-schema.sql           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/1-security-schema.sql')

diff --git a/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/1-security-schema.sql b/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/1-security-schema.sql
index fdde5823..4f61fc9d 100644
--- a/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/1-security-schema.sql
+++ b/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/1-security-schema.sql
@@ -1,11 +1,11 @@
 create table users(
-	username varchar(50) not null primary key,
-    password varchar(50) not null,
+	username varchar(32) not null primary key,
+    password varchar(124) not null,
     enabled smallint not null
     );
 
  create table authorities (
- 	username varchar(50) not null,
+ 	username varchar(32) not null,
     authority varchar(50) not null,
     constraint fk_authorities_users foreign key(username) references users(username));
     create unique index ix_auth_username on authorities (username,authority);
@@ -21,6 +21,6 @@ create table group_authorities (
 
 create table group_members (
 	id bigint generated by default as identity(start with 0) primary key, 
-	username varchar(50) not null, 
+	username varchar(32) not null, 
 	group_id bigint not null, 
 	constraint fk_group_members_group foreign key(group_id) references groups(id));
-- 
cgit 

