I\'m new to Rails, and I\'m coming to it from a Django background. I\'ve come to terms with the fact that models and the database schema are separate in Rails, online Django
You can generate migration
rails g migration AddProcedureIdToUser procedure:references
Thanks