We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 969dac9 commit f368a0aCopy full SHA for f368a0a
session-handling-spring-security/src/main/resources/schema.sql
@@ -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