@@ -655,47 +655,6 @@ CREATE TABLE public.schema_migrations (
655655);
656656
657657
658- --
659- -- Name: buckets; Type: TABLE; Schema: storage; Owner: -
660- --
661-
662- CREATE TABLE storage .buckets (
663- id text NOT NULL ,
664- name text NOT NULL ,
665- owner uuid,
666- created_at timestamp with time zone DEFAULT now(),
667- updated_at timestamp with time zone DEFAULT now()
668- );
669-
670-
671- --
672- -- Name: migrations; Type: TABLE; Schema: storage; Owner: -
673- --
674-
675- CREATE TABLE storage .migrations (
676- id integer NOT NULL ,
677- name character varying (100 ) NOT NULL ,
678- hash character varying (40 ) NOT NULL ,
679- executed_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP
680- );
681-
682-
683- --
684- -- Name: objects; Type: TABLE; Schema: storage; Owner: -
685- --
686-
687- CREATE TABLE storage .objects (
688- id uuid DEFAULT extensions .uuid_generate_v4 () NOT NULL ,
689- bucket_id text ,
690- name text ,
691- owner uuid,
692- created_at timestamp with time zone DEFAULT now(),
693- updated_at timestamp with time zone DEFAULT now(),
694- last_accessed_at timestamp with time zone DEFAULT now(),
695- metadata jsonb
696- );
697-
698-
699658--
700659-- Name: refresh_tokens id; Type: DEFAULT; Schema: auth; Owner: -
701660--
@@ -759,38 +718,6 @@ ALTER TABLE ONLY public.schema_migrations
759718 ADD CONSTRAINT schema_migrations_pkey PRIMARY KEY (version);
760719
761720
762- --
763- -- Name: buckets buckets_pkey; Type: CONSTRAINT; Schema: storage; Owner: -
764- --
765-
766- ALTER TABLE ONLY storage .buckets
767- ADD CONSTRAINT buckets_pkey PRIMARY KEY (id);
768-
769-
770- --
771- -- Name: migrations migrations_name_key; Type: CONSTRAINT; Schema: storage; Owner: -
772- --
773-
774- ALTER TABLE ONLY storage .migrations
775- ADD CONSTRAINT migrations_name_key UNIQUE (name);
776-
777-
778- --
779- -- Name: migrations migrations_pkey; Type: CONSTRAINT; Schema: storage; Owner: -
780- --
781-
782- ALTER TABLE ONLY storage .migrations
783- ADD CONSTRAINT migrations_pkey PRIMARY KEY (id);
784-
785-
786- --
787- -- Name: objects objects_pkey; Type: CONSTRAINT; Schema: storage; Owner: -
788- --
789-
790- ALTER TABLE ONLY storage .objects
791- ADD CONSTRAINT objects_pkey PRIMARY KEY (id);
792-
793-
794721--
795722-- Name: audit_logs_instance_id_idx; Type: INDEX; Schema: auth; Owner: -
796723--
@@ -833,57 +760,6 @@ CREATE INDEX users_instance_id_email_idx ON auth.users USING btree (instance_id,
833760CREATE INDEX users_instance_id_idx ON auth .users USING btree (instance_id);
834761
835762
836- --
837- -- Name: bname; Type: INDEX; Schema: storage; Owner: -
838- --
839-
840- CREATE UNIQUE INDEX bname ON storage .buckets USING btree (name);
841-
842-
843- --
844- -- Name: bucketid_objname; Type: INDEX; Schema: storage; Owner: -
845- --
846-
847- CREATE UNIQUE INDEX bucketid_objname ON storage .objects USING btree (bucket_id, name);
848-
849-
850- --
851- -- Name: name_prefix_search; Type: INDEX; Schema: storage; Owner: -
852- --
853-
854- CREATE INDEX name_prefix_search ON storage .objects USING btree (name text_pattern_ops);
855-
856-
857- --
858- -- Name: buckets buckets_owner_fkey; Type: FK CONSTRAINT; Schema: storage; Owner: -
859- --
860-
861- ALTER TABLE ONLY storage .buckets
862- ADD CONSTRAINT buckets_owner_fkey FOREIGN KEY (owner) REFERENCES auth .users (id);
863-
864-
865- --
866- -- Name: objects objects_bucketId_fkey; Type: FK CONSTRAINT; Schema: storage; Owner: -
867- --
868-
869- ALTER TABLE ONLY storage .objects
870- ADD CONSTRAINT " objects_bucketId_fkey" FOREIGN KEY (bucket_id) REFERENCES storage .buckets (id);
871-
872-
873- --
874- -- Name: objects objects_owner_fkey; Type: FK CONSTRAINT; Schema: storage; Owner: -
875- --
876-
877- ALTER TABLE ONLY storage .objects
878- ADD CONSTRAINT objects_owner_fkey FOREIGN KEY (owner) REFERENCES auth .users (id);
879-
880-
881- --
882- -- Name: objects; Type: ROW SECURITY; Schema: storage; Owner: -
883- --
884-
885- ALTER TABLE storage .objects ENABLE ROW LEVEL SECURITY;
886-
887763--
888764-- Name: supabase_realtime; Type: PUBLICATION; Schema: -; Owner: -
889765--
0 commit comments