Skip to content

Commit

Permalink
remove flyway users table creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Oct 28, 2024
1 parent 07089a4 commit c734c9a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
32 changes: 16 additions & 16 deletions migrations/sql/V2.0.0__schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ SET default_table_access_method = heap;
-- Name: flyway_schema_history; Type: TABLE; Schema: USERS; Owner: nr-ticdi
--

CREATE TABLE "USERS".flyway_schema_history (
installed_rank integer NOT NULL,
version character varying(50),
description character varying(200) NOT NULL,
type character varying(20) NOT NULL,
script character varying(1000) NOT NULL,
checksum integer,
installed_by character varying(100) NOT NULL,
installed_on timestamp without time zone DEFAULT now() NOT NULL,
execution_time integer NOT NULL,
success boolean NOT NULL
);
-- CREATE TABLE "USERS".flyway_schema_history (
-- installed_rank integer NOT NULL,
-- version character varying(50),
-- description character varying(200) NOT NULL,
-- type character varying(20) NOT NULL,
-- script character varying(1000) NOT NULL,
-- checksum integer,
-- installed_by character varying(100) NOT NULL,
-- installed_on timestamp without time zone DEFAULT now() NOT NULL,
-- execution_time integer NOT NULL,
-- success boolean NOT NULL
-- );


ALTER TABLE "USERS".flyway_schema_history OWNER TO "nr-ticdi";
-- ALTER TABLE "USERS".flyway_schema_history OWNER TO "nr-ticdi";

--
-- Name: document_data; Type: TABLE; Schema: public; Owner: nr-ticdi
Expand Down Expand Up @@ -538,8 +538,8 @@ ALTER TABLE ONLY public.provision_variable ALTER COLUMN id SET DEFAULT nextval('
-- Name: flyway_schema_history flyway_schema_history_pk; Type: CONSTRAINT; Schema: USERS; Owner: nr-ticdi
--

ALTER TABLE ONLY "USERS".flyway_schema_history
ADD CONSTRAINT flyway_schema_history_pk PRIMARY KEY (installed_rank);
-- ALTER TABLE ONLY "USERS".flyway_schema_history
-- ADD CONSTRAINT flyway_schema_history_pk PRIMARY KEY (installed_rank);


--
Expand Down Expand Up @@ -626,7 +626,7 @@ ALTER TABLE ONLY public.provision_variable
-- Name: flyway_schema_history_s_idx; Type: INDEX; Schema: USERS; Owner: nr-ticdi
--

CREATE INDEX flyway_schema_history_s_idx ON "USERS".flyway_schema_history USING btree (success);
-- CREATE INDEX flyway_schema_history_s_idx ON "USERS".flyway_schema_history USING btree (success);


--
Expand Down
48 changes: 24 additions & 24 deletions migrations/sql/V2.0.1__data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,30 @@ SET row_security = off;
-- Data for Name: flyway_schema_history; Type: TABLE DATA; Schema: USERS; Owner: nr-ticdi
--

COPY "USERS".flyway_schema_history (installed_rank, version, description, type, script, checksum, installed_by, installed_on, execution_time, success) FROM stdin;
0 \N << Flyway Schema Creation >> SCHEMA "USERS" \N nr-ticdi 2024-04-28 21:53:53.29507 0 t
1 1.0.0 init SQL V1.0.0__init.sql -401676923 nr-ticdi 2024-04-28 21:53:53.410073 51 t
2 1.0.1 nr ticdi TESTdocument data 202404280843 SQL V1.0.1__nr_ticdi_TESTdocument_data_202404280843.sql -57994389 nr-ticdi 2024-04-28 21:53:53.70221 202 t
3 1.0.2 nr ticdi TESTdocument data log 202404280843 SQL V1.0.2__nr_ticdi_TESTdocument_data_log_202404280843.sql -1643354737 nr-ticdi 2024-04-28 21:53:54.3094 606 t
4 1.0.3 nr ticdi TESTdocument data provision 202404280843 SQL V1.0.3__nr_ticdi_TESTdocument_data_provision_202404280843.sql -549869980 nr-ticdi 2024-04-28 21:53:56.718106 619 t
5 1.0.4 nr ticdi TESTdocument data variable 202404280843 SQL V1.0.4__nr_ticdi_TESTdocument_data_variable_202404280843.sql 2098393833 nr-ticdi 2024-04-28 21:53:57.432259 1135 t
6 1.0.5 nr ticdi TESTdocument template 202404280843 SQL V1.0.5__nr_ticdi_TESTdocument_template_202404280843.sql 799423608 nr-ticdi 2024-04-28 21:53:58.947423 462 t
7 1.0.6 nr ticdi TESTdocument type 202404280843 SQL V1.0.6__nr_ticdi_TESTdocument_type_202404280843.sql 238419314 nr-ticdi 2024-04-28 21:54:00.004413 5 t
8 1.0.7 nr ticdi TESTdocument type provision 202404280843 SQL V1.0.7__nr_ticdi_TESTdocument_type_provision_202404280843.sql -921433490 nr-ticdi 2024-04-28 21:54:00.028957 78 t
9 1.0.8 nr ticdi TESTprovision 202404280843 SQL V1.0.8__nr_ticdi_TESTprovision_202404280843.sql 1593050024 nr-ticdi 2024-04-28 21:54:00.199137 8 t
10 1.0.9 nr ticdi TESTprovision group 202404280843 SQL V1.0.9__nr_ticdi_TESTprovision_group_202404280843.sql 2030389165 nr-ticdi 2024-04-28 21:54:00.222957 23 t
11 1.0.10 nr ticdi TESTprovision variable 202404280843 SQL V1.0.10__nr_ticdi_TESTprovision_variable_202404280843.sql -1008279634 nr-ticdi 2024-04-28 21:54:00.395626 7 t
12 1.0.12 ticdi constraints SQL V1.0.12__ticdi_constraints.sql 1387417646 nr-ticdi 2024-04-28 21:54:00.414828 77 t
13 1.0.13 ticdi provision group seq SQL V1.0.13__ticdi_provision_group_seq.sql -986242546 nr-ticdi 2024-04-29 18:54:17.807508 7 t
14 1.0.14 ticdi sequences SQL V1.0.14__ticdi_sequences.sql 175373139 nr-ticdi 2024-04-29 22:00:22.249186 16 t
15 1.0.15 ticdi data log seq SQL V1.0.15__ticdi_data_log_seq.sql 516922031 nr-ticdi 2024-04-30 19:34:43.926791 88 t
16 1.0.16 ticdi add new provisions SQL V1.0.16__ticdi_add_new_provisions.sql -1446966841 nr-ticdi 2024-04-30 23:14:33.168781 586 t
17 1.0.17 ticdi update provision type SQL V1.0.17__ticdi_update_provision_type.sql -1494978896 nr-ticdi 2024-07-05 23:18:32.338801 12 t
18 1.0.18 nr ticdi add doctype prefix column SQL V1.0.18__nr_ticdi_add_doctype_prefix_column.sql -1925678577 nr-ticdi 2024-07-20 00:21:04.853687 21 t
19 1.0.19 doctype active SQL V1.0.19__doctype_active.sql -638529877 nr-ticdi 2024-08-29 16:40:39.634142 12 t
20 1.0.20 provision list SQL V1.0.20__provision_list.sql 901313308 nr-ticdi 2024-09-06 21:44:29.662736 15 t
21 1.0.21 provision list update SQL V1.0.21__provision_list_update.sql 336889514 nr-ticdi 2024-09-24 21:01:45.881813 88 t
\.
-- COPY "USERS".flyway_schema_history (installed_rank, version, description, type, script, checksum, installed_by, installed_on, execution_time, success) FROM stdin;
-- 0 \N << Flyway Schema Creation >> SCHEMA "USERS" \N nr-ticdi 2024-04-28 21:53:53.29507 0 t
-- 1 1.0.0 init SQL V1.0.0__init.sql -401676923 nr-ticdi 2024-04-28 21:53:53.410073 51 t
-- 2 1.0.1 nr ticdi TESTdocument data 202404280843 SQL V1.0.1__nr_ticdi_TESTdocument_data_202404280843.sql -57994389 nr-ticdi 2024-04-28 21:53:53.70221 202 t
-- 3 1.0.2 nr ticdi TESTdocument data log 202404280843 SQL V1.0.2__nr_ticdi_TESTdocument_data_log_202404280843.sql -1643354737 nr-ticdi 2024-04-28 21:53:54.3094 606 t
-- 4 1.0.3 nr ticdi TESTdocument data provision 202404280843 SQL V1.0.3__nr_ticdi_TESTdocument_data_provision_202404280843.sql -549869980 nr-ticdi 2024-04-28 21:53:56.718106 619 t
-- 5 1.0.4 nr ticdi TESTdocument data variable 202404280843 SQL V1.0.4__nr_ticdi_TESTdocument_data_variable_202404280843.sql 2098393833 nr-ticdi 2024-04-28 21:53:57.432259 1135 t
-- 6 1.0.5 nr ticdi TESTdocument template 202404280843 SQL V1.0.5__nr_ticdi_TESTdocument_template_202404280843.sql 799423608 nr-ticdi 2024-04-28 21:53:58.947423 462 t
-- 7 1.0.6 nr ticdi TESTdocument type 202404280843 SQL V1.0.6__nr_ticdi_TESTdocument_type_202404280843.sql 238419314 nr-ticdi 2024-04-28 21:54:00.004413 5 t
-- 8 1.0.7 nr ticdi TESTdocument type provision 202404280843 SQL V1.0.7__nr_ticdi_TESTdocument_type_provision_202404280843.sql -921433490 nr-ticdi 2024-04-28 21:54:00.028957 78 t
-- 9 1.0.8 nr ticdi TESTprovision 202404280843 SQL V1.0.8__nr_ticdi_TESTprovision_202404280843.sql 1593050024 nr-ticdi 2024-04-28 21:54:00.199137 8 t
-- 10 1.0.9 nr ticdi TESTprovision group 202404280843 SQL V1.0.9__nr_ticdi_TESTprovision_group_202404280843.sql 2030389165 nr-ticdi 2024-04-28 21:54:00.222957 23 t
-- 11 1.0.10 nr ticdi TESTprovision variable 202404280843 SQL V1.0.10__nr_ticdi_TESTprovision_variable_202404280843.sql -1008279634 nr-ticdi 2024-04-28 21:54:00.395626 7 t
-- 12 1.0.12 ticdi constraints SQL V1.0.12__ticdi_constraints.sql 1387417646 nr-ticdi 2024-04-28 21:54:00.414828 77 t
-- 13 1.0.13 ticdi provision group seq SQL V1.0.13__ticdi_provision_group_seq.sql -986242546 nr-ticdi 2024-04-29 18:54:17.807508 7 t
-- 14 1.0.14 ticdi sequences SQL V1.0.14__ticdi_sequences.sql 175373139 nr-ticdi 2024-04-29 22:00:22.249186 16 t
-- 15 1.0.15 ticdi data log seq SQL V1.0.15__ticdi_data_log_seq.sql 516922031 nr-ticdi 2024-04-30 19:34:43.926791 88 t
-- 16 1.0.16 ticdi add new provisions SQL V1.0.16__ticdi_add_new_provisions.sql -1446966841 nr-ticdi 2024-04-30 23:14:33.168781 586 t
-- 17 1.0.17 ticdi update provision type SQL V1.0.17__ticdi_update_provision_type.sql -1494978896 nr-ticdi 2024-07-05 23:18:32.338801 12 t
-- 18 1.0.18 nr ticdi add doctype prefix column SQL V1.0.18__nr_ticdi_add_doctype_prefix_column.sql -1925678577 nr-ticdi 2024-07-20 00:21:04.853687 21 t
-- 19 1.0.19 doctype active SQL V1.0.19__doctype_active.sql -638529877 nr-ticdi 2024-08-29 16:40:39.634142 12 t
-- 20 1.0.20 provision list SQL V1.0.20__provision_list.sql 901313308 nr-ticdi 2024-09-06 21:44:29.662736 15 t
-- 21 1.0.21 provision list update SQL V1.0.21__provision_list_update.sql 336889514 nr-ticdi 2024-09-24 21:01:45.881813 88 t
-- \.


--
Expand Down

0 comments on commit c734c9a

Please sign in to comment.