setup automigrations and attributes