Open-Source-Access-Control-.../db/migrate/20140209070141_create_categories.rb

15 lines
302 B
Ruby
Raw Normal View History

class CreateCategories < ActiveRecord::Migration
def up
create_table "resource_categories", :force => true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.string "parent"
end
end
def down
drop_table :resource_categories
end
end