Created migrations for the base and foreign key tables