Minor change
This commit is contained in:
parent
2709e8ba54
commit
592dcbc706
|
@ -447,7 +447,6 @@ ALTER TABLE ONLY "DatasetService"
|
||||||
ADD CONSTRAINT "DatasetServiceServiceReference" FOREIGN KEY ("Service") REFERENCES "Service"("ID");
|
ADD CONSTRAINT "DatasetServiceServiceReference" FOREIGN KEY ("Service") REFERENCES "Service"("ID");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DROP table if exists "UserInfo";
|
DROP table if exists "UserInfo";
|
||||||
|
|
||||||
CREATE TABLE "UserInfo" (
|
CREATE TABLE "UserInfo" (
|
||||||
|
@ -472,10 +471,10 @@ COMMENT ON COLUMN "UserInfo"."usertype" IS 'This stores the type of user: 0 -> i
|
||||||
DROP table if exists "UserAuth";
|
DROP table if exists "UserAuth";
|
||||||
|
|
||||||
CREATE TABLE "UserAuth" (
|
CREATE TABLE "UserAuth" (
|
||||||
"id" uuid DEFAULT uuid_generate_v4() NOT NULL,
|
"id" uuid DEFAULT uuid_generate_v4() NOT NULL UNIQUE,
|
||||||
"username" character varying(200) NOT NULL,
|
"username" character varying(200) NOT NULL,
|
||||||
"password" character varying(250) NOT NULL,
|
"password" character varying(250) NOT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (username)
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE INDEX idx_userauth_username ON "UserAuth"(username);
|
CREATE INDEX idx_userauth_username ON "UserAuth"(username);
|
||||||
|
|
Loading…
Reference in New Issue