osem-fcy/db/migrate/20140724153520_create_subscriptions.rb

10 lines
197 B
Ruby
Raw Normal View History

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