2017-08-31 00:06:56 -04:00
|
|
|
class AddCategoryUsers < ActiveRecord::Migration[4.2]
|
2014-01-01 20:00:08 -05:00
|
|
|
def change
|
|
|
|
create_table :category_users do |t|
|
|
|
|
t.column :category_id, :integer, null: false
|
|
|
|
t.column :user_id, :integer, null: false
|
|
|
|
t.column :notification_level, :integer, null: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|