From 362d9dc1a52d01417d4290f18a0c16b63d90b8aa Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sun, 4 Oct 2020 03:37:20 +0200 Subject: [PATCH] Re-export schema template. No changes, it merely shuffles the position of raw_lines in the export. --- etc/db/schema-template.sql | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/etc/db/schema-template.sql b/etc/db/schema-template.sql index 8e04434..56a5bfe 100644 --- a/etc/db/schema-template.sql +++ b/etc/db/schema-template.sql @@ -1133,6 +1133,22 @@ Missing points are reported regardless of the underlying preplot NTBA status.'; +-- +-- Name: raw_lines; Type: TABLE; Schema: _SURVEY__TEMPLATE_; Owner: postgres +-- + +CREATE TABLE _SURVEY__TEMPLATE_.raw_lines ( + sequence integer NOT NULL, + line integer NOT NULL, + remarks text DEFAULT ''::text NOT NULL, + ntbp boolean DEFAULT false NOT NULL, + incr boolean NOT NULL, + meta jsonb DEFAULT '{}'::jsonb NOT NULL +); + + +ALTER TABLE _SURVEY__TEMPLATE_.raw_lines OWNER TO postgres; + -- -- Name: missing_sequence_raw_points; Type: VIEW; Schema: _SURVEY__TEMPLATE_; Owner: postgres -- @@ -1259,22 +1275,6 @@ CREATE VIEW _SURVEY__TEMPLATE_.preplot_summary AS ALTER TABLE _SURVEY__TEMPLATE_.preplot_summary OWNER TO postgres; --- --- Name: raw_lines; Type: TABLE; Schema: _SURVEY__TEMPLATE_; Owner: postgres --- - -CREATE TABLE _SURVEY__TEMPLATE_.raw_lines ( - sequence integer NOT NULL, - line integer NOT NULL, - remarks text DEFAULT ''::text NOT NULL, - ntbp boolean DEFAULT false NOT NULL, - incr boolean NOT NULL, - meta jsonb DEFAULT '{}'::jsonb NOT NULL -); - - -ALTER TABLE _SURVEY__TEMPLATE_.raw_lines OWNER TO postgres; - -- -- Name: project_summary; Type: VIEW; Schema: _SURVEY__TEMPLATE_; Owner: postgres --