Success! Deleted customers table, deleted old customers table migration and created new one with stores_id foreign key. Migrated it and added created foreign key field in add-customer route. Added a new customer, and the foreign key/one-to-many relationship works.