Wt::Dbo::Session.dropTables() fails on Postgres backend due to foreign key relations
Was asked to create issue for this, see http://redmine.webtoolkit.eu/boards/2/topics/4140.
To reproduce: setup relations between some tables (with Postgres backend) and try to drop the database schema using Wt::Dbo::Session.dropTables(). The following exception will be thrown:
ERROR: cannot drop table <tablename> because other objects depend on it DETAIL: constraint fk_<foreigntablename>_<tablename> on table <foreigntablename> depends on table <tablename> HINT: Use DROP ... CASCADE to drop the dependent objects too.
Let me know if you need more information.