mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
backend for secure categories mostly done (todo pm groups)
This commit is contained in:
11
db/migrate/20130429000101_add_security_to_categories.rb
Normal file
11
db/migrate/20130429000101_add_security_to_categories.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class AddSecurityToCategories < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :categories, :secure, :boolean, default: false, null: false
|
||||
|
||||
create_table :category_groups do |t|
|
||||
t.integer :category_id, null: false
|
||||
t.integer :group_id, null: false
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user