Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

Conch::DB::Result::UserOrganizationRole

SOURCE

https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Result/UserOrganizationRole.pm

BASE CLASS: Conch::DB::Result

TABLE: user_organization_role

ACCESSORS

user_id

data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16

organization_id

data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16

role

data_type: 'enum'
default_value: 'ro'
extra: {custom_type_name => "role_enum",list => ["ro","rw","admin"]}
is_nullable: 0

PRIMARY KEY

RELATIONS

organization

Type: belongs_to

Related object: Conch::DB::Result::Organization

user_account

Type: belongs_to

Related object: Conch::DB::Result::UserAccount

LICENSING

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 https://www.mozilla.org/en-US/MPL/2.0/.