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

12 lines
228 B
Ruby
Raw Normal View History

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