13 lines
No EOL
192 B
Ruby
13 lines
No EOL
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 |