|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 2/7] 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 <Ian.Jackson@xxxxxxxxxxxxx>
---
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 <executive-postgresql-schema >$t.new-schema -pe '
+ perl <schema/initial.sql >$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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |