Fix unwanted NULL foreign keys: created migration script
Fix unwanted NULL foreign keys: updated SQL files