mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
14 lines
228 B
Ruby
14 lines
228 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|