fixed
- mysql schema so that it uses it multiple databases
- has many so that it uses first primary key rather than id