mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-03 06:24:15 +03:00
a65eb5a9cd
updated available models # Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
56 lines
1.5 KiB
SQL
56 lines
1.5 KiB
SQL
create table "public"."models" (
|
|
"name" text not null,
|
|
"price" integer default 1,
|
|
"max_input" integer default 2000,
|
|
"max_output" integer default 1000
|
|
);
|
|
|
|
|
|
CREATE UNIQUE INDEX models_pkey ON public.models USING btree (name);
|
|
|
|
alter table "public"."models" add constraint "models_pkey" PRIMARY KEY using index "models_pkey";
|
|
|
|
grant delete on table "public"."models" to "anon";
|
|
|
|
grant insert on table "public"."models" to "anon";
|
|
|
|
grant references on table "public"."models" to "anon";
|
|
|
|
grant select on table "public"."models" to "anon";
|
|
|
|
grant trigger on table "public"."models" to "anon";
|
|
|
|
grant truncate on table "public"."models" to "anon";
|
|
|
|
grant update on table "public"."models" to "anon";
|
|
|
|
grant delete on table "public"."models" to "authenticated";
|
|
|
|
grant insert on table "public"."models" to "authenticated";
|
|
|
|
grant references on table "public"."models" to "authenticated";
|
|
|
|
grant select on table "public"."models" to "authenticated";
|
|
|
|
grant trigger on table "public"."models" to "authenticated";
|
|
|
|
grant truncate on table "public"."models" to "authenticated";
|
|
|
|
grant update on table "public"."models" to "authenticated";
|
|
|
|
grant delete on table "public"."models" to "service_role";
|
|
|
|
grant insert on table "public"."models" to "service_role";
|
|
|
|
grant references on table "public"."models" to "service_role";
|
|
|
|
grant select on table "public"."models" to "service_role";
|
|
|
|
grant trigger on table "public"."models" to "service_role";
|
|
|
|
grant truncate on table "public"."models" to "service_role";
|
|
|
|
grant update on table "public"."models" to "service_role";
|
|
|
|
|