12 lines
312 B
Ruby
12 lines
312 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCategoryUsers < ActiveRecord::Migration[4.2]
|
|
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
|