mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
11 lines
210 B
Ruby
11 lines
210 B
Ruby
class UserRolesTable < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :roles_users, id: false do |t|
|
|
t.references :role, :user
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :roles_users
|
|
end
|
|
end
|