mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
17 lines
522 B
Ruby
17 lines
522 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: roles
|
|
#
|
|
# id :integer not null, primary key
|
|
# name :string(30) default(""), not null
|
|
# position :integer default("1")
|
|
# assignable :boolean default("1")
|
|
# builtin :integer default("0"), not null
|
|
# permissions :text(65535)
|
|
# issues_visibility :string(30) default("default"), not null
|
|
#
|
|
|
|
class Role < ApplicationRecord
|
|
has_many :member_roles, dependent: :destroy
|
|
end
|