diff options
-rw-r--r-- | odb/relational/oracle/schema.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/oracle/schema.cxx b/odb/relational/oracle/schema.cxx index ff218cc..8115f2f 100644 --- a/odb/relational/oracle/schema.cxx +++ b/odb/relational/oracle/schema.cxx @@ -68,7 +68,7 @@ namespace relational os << "BEGIN" << endl << " BEGIN" << endl << " EXECUTE IMMEDIATE 'DROP TABLE " << quote_id (table) << - "';" << endl + " CASCADE CONSTRAINTS';" << endl << " EXCEPTION" << endl << " WHEN OTHERS THEN" << endl << " IF SQLCODE != -942 THEN RAISE; END IF;" << endl |