Open-Source-Access-Control-.../db/migrate/20140209070141_create_categories.rb
2014-02-09 00:56:48 -07:00

15 lines
302 B
Ruby
Executable File

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