From 8974e4dae8e47e156c1993a50972fd93441afdfc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Oct 2011 16:24:23 +0200 Subject: Add comment --- odb/schema-catalog.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'odb/schema-catalog.cxx') diff --git a/odb/schema-catalog.cxx b/odb/schema-catalog.cxx index ab83dbd..87d8b90 100644 --- a/odb/schema-catalog.cxx +++ b/odb/schema-catalog.cxx @@ -14,6 +14,11 @@ using namespace std; namespace odb { + // It is important we use vector to store the list of create + // functions since schema generators for some databases may + // rely on the DDL statements executing in a specific order, + // for example, for foreign key generation. + // typedef bool (*create_function) (database&, unsigned short pass, bool drop); typedef vector create_functions; struct schema_catalog_impl: map {}; -- cgit v1.1