Skip to content

Commit

Permalink
migration first (#1906)
Browse files Browse the repository at this point in the history
* migration first

* only stuff that exists for now
  • Loading branch information
colegottdank authored May 13, 2024
1 parent 2532331 commit 825d514
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions supabase/migrations/20240513001658_response-org-id.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALTER TABLE response
ADD COLUMN helicone_org_id uuid null;
CREATE INDEX IF NOT EXISTS idx_response_body_model ON public.response USING btree (((body->>'model'::text))) TABLESPACE pg_default;
CREATE INDEX IF NOT EXISTS idx_response_created_at ON public.response USING btree (created_at) TABLESPACE pg_default;
CREATE INDEX IF NOT EXISTS idx_response_created_at_desc ON public.response USING btree (created_at DESC) TABLESPACE pg_default;
CREATE UNIQUE INDEX IF NOT EXISTS idx_response_request ON public.response USING btree (request) TABLESPACE pg_default;
CREATE INDEX IF NOT EXISTS response_request_id ON public.response USING btree (request) TABLESPACE pg_default;

0 comments on commit 825d514

Please sign in to comment.