Modified to ignore case sensitivity, as per the DAO Authentication Provider interface contract.

This commit is contained in:
Ben Alex 2004-03-29 02:46:48 +00:00
parent 01bde16347
commit b332c3bc03
1 changed files with 1 additions and 0 deletions

View File

@ -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)