backend for secure categories mostly done (todo pm groups)

This commit is contained in:
Sam
2013-04-29 16:33:24 +10:00
parent a99efecb39
commit 5cfcdc7ef0
16 changed files with 353 additions and 238 deletions

View 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