From b2997ecadd9861294c3f042118cf492a238b0f55 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Dec 2015 18:25:14 +0000 Subject: [PATCH] Schema: Rename schema file We are going to have multiple schema snippets and this is going be just the initial baseline. Rename the file and change references to it. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- INSTALL.production | 4 ++-- mg-schema-test-database | 2 +- executive-postgresql-schema => schema/initial.sql | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename executive-postgresql-schema => schema/initial.sql (100%) diff --git a/INSTALL.production b/INSTALL.production index 2db8bd3..2114ccc 100644 --- a/INSTALL.production +++ b/INSTALL.production @@ -29,8 +29,8 @@ DATABASE SERVER --------------- osstest requires a Postgres database server and a database configured -with the schema described in executive-postgresql-schema which should -be accessible to an osstest role account. +with the schema described in schema/initial.sql should be accessible +to an osstest role account. The hostname and dbname are configured via the "ExecutiveDbnamePat" config option. diff --git a/mg-schema-test-database b/mg-schema-test-database index 9791d84..0c4dab7 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -387,7 +387,7 @@ END tables=$(tsort <$t.tablesortlist) # We don't want to set the permissions - perl $t.new-schema -pe ' + perl $t.new-schema -pe ' s/^/--/ if m/^ALTER TABLE .* OWNER TO / || m/^GRANT |^REVOKE / diff --git a/executive-postgresql-schema b/schema/initial.sql similarity index 100% rename from executive-postgresql-schema rename to schema/initial.sql -- 2.39.5