Replace belongs_to [model] with integer model id

It looks like your schema.rb is fine, however for the sake of consistency I modified the migration files.