diff --git a/db/structure.sql b/db/structure.sql index 6b2c2a8..0c298eb 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -543,9 +543,9 @@ CREATE TABLE public.broadcast_recordings ( updated_at timestamp(6) without time zone NOT NULL, duration double precision, hidden boolean DEFAULT false, - starred boolean DEFAULT false, name character varying, - description text + description text, + starred boolean DEFAULT false ); @@ -716,15 +716,6 @@ CREATE SEQUENCE public.contract_templates_id_seq ALTER SEQUENCE public.contract_templates_id_seq OWNED BY public.contract_templates.id; --- --- Name: data_migrations; Type: TABLE; Schema: public; Owner: - --- - -CREATE TABLE public.data_migrations ( - version character varying NOT NULL -); - - -- -- Name: directories; Type: TABLE; Schema: public; Owner: - -- @@ -1388,7 +1379,8 @@ CREATE TABLE public.projects ( updated_at timestamp without time zone NOT NULL, sample boolean DEFAULT false, headshot_collection_uid character varying, - account_id bigint + account_id bigint, + live_meeting_url text ); @@ -1503,6 +1495,7 @@ CREATE TABLE public.settings ( -- CREATE SEQUENCE public.settings_id_seq + AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1538,6 +1531,7 @@ CREATE TABLE public.taggings ( -- CREATE SEQUENCE public.taggings_id_seq + AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1568,6 +1562,7 @@ CREATE TABLE public.tags ( -- CREATE SEQUENCE public.tags_id_seq + AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -2411,14 +2406,6 @@ ALTER TABLE ONLY public.contract_templates ADD CONSTRAINT contract_templates_pkey PRIMARY KEY (id); --- --- Name: data_migrations data_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: - --- - -ALTER TABLE ONLY public.data_migrations - ADD CONSTRAINT data_migrations_pkey PRIMARY KEY (version); - - -- -- Name: directories directories_pkey; Type: CONSTRAINT; Schema: public; Owner: - -- @@ -3267,6 +3254,7 @@ CREATE UNIQUE INDEX index_users_on_email ON public.users USING btree (email); CREATE UNIQUE INDEX index_users_on_password_reset_token ON public.users USING btree (password_reset_token); + -- -- Name: index_video_release_confirmations_on_file_info_id; Type: INDEX; Schema: public; Owner: - -- @@ -3472,6 +3460,14 @@ ALTER TABLE ONLY public.contract_templates ADD CONSTRAINT fk_rails_21d503cdcd FOREIGN KEY (project_id) REFERENCES public.projects(id); +-- +-- Name: video_release_confirmations fk_rails_2787252ceb; Type: FK CONSTRAINT; Schema: public; Owner: - +-- + +ALTER TABLE ONLY public.video_release_confirmations + ADD CONSTRAINT fk_rails_2787252ceb FOREIGN KEY (file_info_id) REFERENCES public.file_infos(id); + + -- -- Name: medical_releases fk_rails_325442c794; Type: FK CONSTRAINT; Schema: public; Owner: - -- @@ -4041,6 +4037,7 @@ INSERT INTO "schema_migrations" (version) VALUES ('20200820082501'), ('20200824171649'), ('20200908085319'), +('20200914113410'), ('20200914163203');