* full discrimator support
* added creation of DDL foreignkeys