osem-fcy/db/migrate/20140724153520_create_subscriptions.rb
2014-08-12 16:47:35 +05:30

9 lines
197 B
Ruby

class CreateSubscriptions < ActiveRecord::Migration
def change
create_table :subscriptions do |t|
t.belongs_to :user
t.belongs_to :conference
t.timestamps
end
end
end