photomix/db/migrate/20090604202930_create_roles.rb
2009-06-05 14:18:03 +02:00

13 lines
192 B
Ruby

class CreateRoles < ActiveRecord::Migration
def self.up
create_table :roles do |t|
t.string :name
t.timestamps
end
end
def self.down
drop_table :roles
end
end