Adds foreign keys and creates has_many/belongs_to relationships