resolve comments.

pull/1841/head
Brian Cao 2023-03-23 12:38:30 -07:00
parent 2343949d3e
commit cffe2771c6
2 changed files with 4 additions and 1 deletions

View File

@ -138,3 +138,6 @@ CREATE TABLE `team_website` (
INDEX `team_website_website_id_idx`(`website_id`), INDEX `team_website_website_id_idx`(`website_id`),
PRIMARY KEY (`team_website_id`) PRIMARY KEY (`team_website_id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-- AddSystemUser
INSERT INTO "user" (user_id, username, role, password) VALUES ('41e2b680-648e-4b09-bcd7-3e2b10c06264' , 'admin', 'admin', '$2b$10$BUli0c.muyCW1ErNJc3jL.vFRFtFJWrT8/GcR4A.sUdCznaXiqFXa');

View File

@ -58,7 +58,7 @@ model Website {
user User? @relation(fields: [userId], references: [id]) user User? @relation(fields: [userId], references: [id])
teamWebsite TeamWebsite[] teamWebsite TeamWebsite[]
EventData EventData[] eventData EventData[]
@@index([userId]) @@index([userId])
@@index([createdAt]) @@index([createdAt])