switch to model table creation
support associations with embedded ids