mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
13 lines
198 B
Ruby
13 lines
198 B
Ruby
|
|
class CreateRolesTable < 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
|