Skip to content

Commit f368a0a

Browse files
committed
added missing file
1 parent 969dac9 commit f368a0a

File tree

1 file changed

+13
-0
lines changed
  • session-handling-spring-security/src/main/resources

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
create table users(
2+
username varchar(50) not null primary key,
3+
password varchar(500) not null,
4+
enabled boolean not null
5+
);
6+
7+
create table authorities (
8+
username varchar(50) not null,
9+
authority varchar(50) not null,
10+
constraint fk_authorities_users foreign key(username) references users(username)
11+
);
12+
13+
create unique index ix_auth_username on authorities (username,authority);

0 commit comments

Comments
 (0)