Modified to ignore case sensitivity, as per the DAO Authentication Provider interface contract.
This commit is contained in:
parent
01bde16347
commit
b332c3bc03
|
@ -1,3 +1,4 @@
|
|||
SET IGNORECASE TRUE
|
||||
CREATE TABLE USERS(USERNAME VARCHAR(50) NOT NULL PRIMARY KEY,PASSWORD VARCHAR(50) NOT NULL,ENABLED BIT NOT NULL)
|
||||
CREATE TABLE AUTHORITIES(USERNAME VARCHAR(50) 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)
|
||||
|
|
Loading…
Reference in New Issue