diff options
Diffstat (limited to 'schema/custom')
-rw-r--r-- | schema/custom/database.hxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/schema/custom/database.hxx b/schema/custom/database.hxx index 82441b7..76dedb6 100644 --- a/schema/custom/database.hxx +++ b/schema/custom/database.hxx @@ -1,4 +1,4 @@ -// file : template/database.hxx +// file : schema/custom/database.hxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : not copyrighted - public domain @@ -52,14 +52,6 @@ create_database (int& argc, char* argv[]) auto_ptr<database> db ( new odb::sqlite::database ( argc, argv, false, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE)); - - // Create the database schema. - // - { - transaction t (db->begin ()); - schema_catalog::create_schema (*db); - t.commit (); - } #elif defined(DATABASE_PGSQL) auto_ptr<database> db (new odb::pgsql::database (argc, argv)); #endif |