2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00
discourse/db/migrate/20140101235747_add_category_users.rb

10 lines
281 B
Ruby
Raw Normal View History

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