Datacenter build and management service
Conch::DB::Result::UserWorkspaceRole
user_workspace_role
data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16
data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16
data_type: 'enum'
default_value: 'ro'
extra: {custom_type_name => "user_workspace_role_enum",list => ["ro","rw","admin"]}
is_nullable: 0
Type: belongs_to
Related object: Conch::DB::Result::UserAccount
Type: belongs_to
Related object: Conch::DB::Result::Workspace
Acts like the cmp
operator, returning -1, 0 or 1 depending on whether the first role is less
than, the same as, or greater than the second role.
If only one role argument is passed, the role in the current row is compared to the passed-in role.
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.