use unique names and drop the foreign keys
added tool to recreate db when model changes