From e3d1fc9e4c4762181d524ee370575425f2079c6b Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 29 Nov 2023 15:16:29 +0000 Subject: [PATCH] Remove 'AS integer' lines from structure.sql Refs #4298 --- db/structure.sql | 12 ------------ script/normalise-structure | 1 - 2 files changed, 13 deletions(-) diff --git a/db/structure.sql b/db/structure.sql index 60fef559274..e4ec88ff05a 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -343,7 +343,6 @@ CREATE TABLE public.changeset_comments ( -- CREATE SEQUENCE public.changeset_comments_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -445,7 +444,6 @@ CREATE TABLE public.client_applications ( -- CREATE SEQUENCE public.client_applications_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -871,7 +869,6 @@ CREATE TABLE public.issue_comments ( -- CREATE SEQUENCE public.issue_comments_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -911,7 +908,6 @@ CREATE TABLE public.issues ( -- CREATE SEQUENCE public.issues_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1024,7 +1020,6 @@ CREATE TABLE public.note_comments ( -- CREATE SEQUENCE public.note_comments_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1060,7 +1055,6 @@ CREATE TABLE public.notes ( -- CREATE SEQUENCE public.notes_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1206,7 +1200,6 @@ CREATE TABLE public.oauth_nonces ( -- CREATE SEQUENCE public.oauth_nonces_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1285,7 +1278,6 @@ CREATE TABLE public.oauth_tokens ( -- CREATE SEQUENCE public.oauth_tokens_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1320,7 +1312,6 @@ CREATE TABLE public.redactions ( -- CREATE SEQUENCE public.redactions_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1395,7 +1386,6 @@ CREATE TABLE public.reports ( -- CREATE SEQUENCE public.reports_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1442,7 +1432,6 @@ CREATE TABLE public.user_blocks ( -- CREATE SEQUENCE public.user_blocks_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE @@ -1487,7 +1476,6 @@ CREATE TABLE public.user_roles ( -- CREATE SEQUENCE public.user_roles_id_seq - AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE diff --git a/script/normalise-structure b/script/normalise-structure index 9cf0b6cae90..a659117a9a2 100644 --- a/script/normalise-structure +++ b/script/normalise-structure @@ -5,6 +5,5 @@ /^SET default_with_oids /d /^SET default_table_access_method /d /^SET idle_in_transaction_session_timeout /d -/^ AS integer$/d s/ IMMUTABLE / /