[odb-users] Drop table in schema migration

Boris Kolpackov boris at codesynthesis.com
Mon Apr 18 10:40:46 EDT 2016


Hi Dieter,

dieter.govaerts at bricsys.com <dieter.govaerts at bricsys.com> writes:

> I would like to recreate a set of classes to include polymorphism using db
> migration. There is no need to maintain the data so I would just have
> increased the version, drop the tables, increase the version, recreate the
> classes with polymorphism. I see however no documented way to immediately
> drop the classes/tables from the db. Simply omitting the the header from the
> "odb --generate-schema-only --schema-format separate --at-once" command
> didn't work.

I am not sure what you mean by "immediately drop the classes/tables from the
db". Also, are the old and new classes use the same table names? A concrete
example would really help with understanding of what you are trying to
achieve.

Boris



More information about the odb-users mailing list