From 94bc2fff43c9aeafd39f2adb43672bee132c55b7 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 23 Aug 2023 09:41:01 -0700 Subject: [PATCH] Additional schema updates. --- .../down.sql | 1 + .../1692808290326_create_index_notifications_bodyshopid/up.sql | 2 ++ .../down.sql | 1 + .../1692808306834_create_index_notifications_accepted_at/up.sql | 2 ++ .../down.sql | 1 + .../up.sql | 2 ++ 6 files changed, 9 insertions(+) create mode 100644 hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/down.sql create mode 100644 hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/up.sql create mode 100644 hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/down.sql create mode 100644 hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/up.sql create mode 100644 hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/down.sql create mode 100644 hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/up.sql diff --git a/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/down.sql b/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/down.sql new file mode 100644 index 0000000..894a8eb --- /dev/null +++ b/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS "public"."notifications_bodyshopid"; diff --git a/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/up.sql b/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/up.sql new file mode 100644 index 0000000..f1ed73d --- /dev/null +++ b/hasura/migrations/default/1692808290326_create_index_notifications_bodyshopid/up.sql @@ -0,0 +1,2 @@ +CREATE INDEX "notifications_bodyshopid" on + "public"."notifications" using btree ("bodyshopid"); diff --git a/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/down.sql b/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/down.sql new file mode 100644 index 0000000..cdfc547 --- /dev/null +++ b/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS "public"."notifications_accepted_at"; diff --git a/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/up.sql b/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/up.sql new file mode 100644 index 0000000..36071b6 --- /dev/null +++ b/hasura/migrations/default/1692808306834_create_index_notifications_accepted_at/up.sql @@ -0,0 +1,2 @@ +CREATE INDEX "notifications_accepted_at" on + "public"."notifications" using btree ("acceptedat"); diff --git a/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/down.sql b/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/down.sql new file mode 100644 index 0000000..e556214 --- /dev/null +++ b/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS "public"."notifications_effectivedate"; diff --git a/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/up.sql b/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/up.sql new file mode 100644 index 0000000..18a405e --- /dev/null +++ b/hasura/migrations/default/1692808323949_create_index_notifications_effectivedate/up.sql @@ -0,0 +1,2 @@ +CREATE INDEX "notifications_effectivedate" on + "public"."notifications" using btree ("effectivedate");