Drop the imported Gerrit1 schema if conversion was successful

We don't need it anymore, and it just makes the database that
much larger when considering moving it to another system or
making a backup.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-01-08 12:44:59 -08:00
parent d4ff6f30da
commit 508775b3d2

View File

@@ -46,5 +46,6 @@ echo >&2 " ignore failures unless on a production system"
psql -f $out/sql/query_index.sql $dstdb
echo >&2
psql -c 'DROP SCHEMA gerrit1 CASCADE' $dstdb
echo "CONVERT Gerrit 1 -> Gerrit 2 SUCCESSFUL"