[perf] more sql indexes
This commit is contained in:
parent
02ec5fede8
commit
39e706b7cf
|
@ -0,0 +1,15 @@
|
|||
-- Up
|
||||
|
||||
CREATE INDEX "profiles_teamName" ON "profiles" ("teamName");
|
||||
CREATE INDEX "profiles_footerName" ON "profiles" ("footerName");
|
||||
CREATE INDEX "profiles_footerAreas" ON "profiles" ("footerAreas");
|
||||
|
||||
CREATE INDEX "reports_userId" ON "reports" ("userId");
|
||||
|
||||
-- Down
|
||||
|
||||
DROP INDEX "profiles_teamName";
|
||||
DROP INDEX "profiles_footerName";
|
||||
DROP INDEX "profiles_footerAreas";
|
||||
|
||||
DROP INDEX "reports_userId";
|
Reference in New Issue