5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 19:16:23 +00:00

fix: schema dump

This commit is contained in:
Sutty 2023-10-19 15:08:10 +00:00
parent 31979382b5
commit 097db453e4

View file

@ -16,6 +16,20 @@ SET row_security = off;
-- *not* creating schema, since initdb creates it -- *not* creating schema, since initdb creates it
--
-- Name: dblink; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS dblink WITH SCHEMA public;
--
-- Name: EXTENSION dblink; Type: COMMENT; Schema: -; Owner: -
--
COMMENT ON EXTENSION dblink IS 'connect to other PostgreSQL databases from within a database';
-- --
-- Name: pg_trgm; Type: EXTENSION; Schema: -; Owner: - -- Name: pg_trgm; Type: EXTENSION; Schema: -; Owner: -
-- --
@ -1149,7 +1163,8 @@ CREATE TABLE public.roles (
site_id integer, site_id integer,
usuarie_id integer, usuarie_id integer,
rol character varying, rol character varying,
temporal boolean temporal boolean,
token character varying
); );
@ -1236,7 +1251,9 @@ CREATE TABLE public.sites (
tienda_url character varying DEFAULT ''::character varying, tienda_url character varying DEFAULT ''::character varying,
api_key_ciphertext character varying, api_key_ciphertext character varying,
slugify_mode character varying DEFAULT 'default'::character varying, slugify_mode character varying DEFAULT 'default'::character varying,
pagination boolean DEFAULT false pagination boolean DEFAULT false,
private_key_pem_ciphertext text,
last_indexed_commit character varying
); );
@ -2234,6 +2251,13 @@ ALTER TABLE ONLY public.active_storage_attachments
ADD CONSTRAINT fk_rails_c3b3935057 FOREIGN KEY (blob_id) REFERENCES public.active_storage_blobs(id); ADD CONSTRAINT fk_rails_c3b3935057 FOREIGN KEY (blob_id) REFERENCES public.active_storage_blobs(id);
--
-- Name: publisher; Type: PUBLICATION; Schema: -; Owner: -
--
CREATE PUBLICATION publisher FOR ALL TABLES WITH (publish = 'insert, update, delete, truncate');
-- --
-- PostgreSQL database dump complete -- PostgreSQL database dump complete
-- --
@ -2318,6 +2342,10 @@ INSERT INTO "schema_migrations" (version) VALUES
('20230421182627'), ('20230421182627'),
('20230424174544'), ('20230424174544'),
('20230519143500'), ('20230519143500'),
('20230524190240'); ('20230524190240'),
('20230731195050'),
('20230829204127'),
('20230921155401'),
('20230927153926');