Add additional Hasura Indexes

This commit is contained in:
Patrick Fic
2024-09-20 14:57:31 -07:00
parent c3f7d7bad2
commit f018a2b2a6
4 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- Could not auto-generate a down migration.
-- Please write an appropriate down migration for the SQL below:
-- CREATE INDEX idx_jobs_created_at_desc ON jobs (created_at DESC);

View File

@@ -0,0 +1 @@
CREATE INDEX idx_jobs_created_at_desc ON jobs (created_at DESC);

View File

@@ -0,0 +1 @@
DROP INDEX IF EXISTS "public"."idx_jobs_vehicleid";

View File

@@ -0,0 +1,2 @@
CREATE INDEX "idx_jobs_vehicleid" on
"public"."jobs" using btree ("vehicleid");