aboutsummaryrefslogtreecommitdiff
path: root/evolution/soft-add
diff options
context:
space:
mode:
Diffstat (limited to 'evolution/soft-add')
-rw-r--r--evolution/soft-add/driver.cxx1
-rw-r--r--evolution/soft-add/makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/evolution/soft-add/driver.cxx b/evolution/soft-add/driver.cxx
index 190cc0c..5ea54d5 100644
--- a/evolution/soft-add/driver.cxx
+++ b/evolution/soft-add/driver.cxx
@@ -47,7 +47,6 @@ main (int argc, char* argv[])
{
transaction t (db->begin ());
schema_catalog::drop_schema (*db);
- schema_catalog::drop_schema (*db, "2");
schema_catalog::create_schema (*db, "", false);
schema_catalog::migrate_schema (*db, 2);
t.commit ();
diff --git a/evolution/soft-add/makefile b/evolution/soft-add/makefile
index 87a8aa9..11a37ef 100644
--- a/evolution/soft-add/makefile
+++ b/evolution/soft-add/makefile
@@ -41,7 +41,7 @@ $(gen) $(dist): odb_common_options = --generate-query --generate-prepared \
$(gen): odb_common_options += --database $(db_id)
$(gen1) $(dist): export odb_options1 = $(odb_common_options) --init-changelog
$(gen2) $(dist): export odb_options2 = $(odb_common_options) --omit-create \
---schema-name 2 --suppress-migration
+--suppress-migration
$(gen3) $(dist): export odb_options3 = $(odb_common_options) --omit-create
$(gen1): odb_options += $(odb_options1) --changelog $(out_base)/model.xml
$(gen2): odb_options += $(odb_options2) --changelog $(out_base)/model.xml