From: Ian Jackson Subject: [OSSTEST PATCH 2/8] Schema: Rename schema file Date: Thu, 10 Dec 2015 17:12:19 +0000 Message-ID: <1449767545-9410-3-git-send-email-ian.jackson@eu.citrix.com> References: <1449767545-9410-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a74li-0003jj-2u for xen-devel@lists.xenproject.org; Thu, 10 Dec 2015 17:12:38 +0000 In-Reply-To: <1449767545-9410-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 -- 1.7.10.4