Sha256: ffd07549d90cc276a58e1ea68dca69ef879511598baebcadcf39fb47ea522a43
Contents?: true
Size: 265 Bytes
Versions: 3
Compression:
Stored size: 265 Bytes
Contents
class AddUserToModels < ActiveRecord::Migration def change change_table :formol_posts do |t| t.belongs_to :user t.index :user_id end change_table :formol_topics do |t| t.belongs_to :user t.index :user_id end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
formol-0.0.6 | db/migrate/20120103163438_add_user_to_models.rb |
formol-0.0.5 | db/migrate/20120103163438_add_user_to_models.rb |
formol-0.0.4 | db/migrate/20120103163438_add_user_to_models.rb |