Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

NAME

Conch::DB::Result::RackLayout

BASE CLASS: Conch::DB::Result

TABLE: rack_layout

ACCESSORS

id

data_type: 'uuid'
default_value: gen_random_uuid()
is_nullable: 0
size: 16

rack_id

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

hardware_product_id

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

rack_unit_start

data_type: 'integer'
is_nullable: 0

created

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

updated

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

PRIMARY KEY

UNIQUE CONSTRAINTS

rack_layout_rack_id_rack_unit_start_key

RELATIONS

device_location

Type: might_have

Related object: Conch::DB::Result::DeviceLocation

hardware_product

Type: belongs_to

Related object: Conch::DB::Result::HardwareProduct

rack

Type: belongs_to

Related object: Conch::DB::Result::Rack

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 http://mozilla.org/MPL/2.0/.