This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1084 from joyent/ether/v3.2-hardware_product_json…
…_schemas hardware_products + json_schemas
- Loading branch information
Showing
30 changed files
with
1,136 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
docs/modules/Conch::DB::Result::HardwareProductJSONSchema.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Conch::DB::Result::HardwareProductJSONSchema | ||
|
||
## SOURCE | ||
|
||
[https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Result/HardwareProductJSONSchema.pm](https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Result/HardwareProductJSONSchema.pm) | ||
|
||
## BASE CLASS: [Conch::DB::Result](../modules/Conch%3A%3ADB%3A%3AResult) | ||
|
||
## TABLE: `hardware_product_json_schema` | ||
|
||
## ACCESSORS | ||
|
||
### hardware\_product\_id | ||
|
||
``` | ||
data_type: 'uuid' | ||
is_foreign_key: 1 | ||
is_nullable: 0 | ||
size: 16 | ||
``` | ||
|
||
### json\_schema\_id | ||
|
||
``` | ||
data_type: 'uuid' | ||
is_foreign_key: 1 | ||
is_nullable: 0 | ||
size: 16 | ||
``` | ||
|
||
### added | ||
|
||
``` | ||
data_type: 'timestamp with time zone' | ||
default_value: current_timestamp | ||
is_nullable: 0 | ||
original: {default_value => \"now()"} | ||
``` | ||
|
||
### added\_user\_id | ||
|
||
``` | ||
data_type: 'uuid' | ||
is_foreign_key: 1 | ||
is_nullable: 0 | ||
size: 16 | ||
``` | ||
|
||
## PRIMARY KEY | ||
|
||
- ["hardware\_product\_id"](#hardware_product_id) | ||
- ["json\_schema\_id"](#json_schema_id) | ||
|
||
## RELATIONS | ||
|
||
### added\_user | ||
|
||
Type: belongs\_to | ||
|
||
Related object: [Conch::DB::Result::UserAccount](../modules/Conch%3A%3ADB%3A%3AResult%3A%3AUserAccount) | ||
|
||
### hardware\_product | ||
|
||
Type: belongs\_to | ||
|
||
Related object: [Conch::DB::Result::HardwareProduct](../modules/Conch%3A%3ADB%3A%3AResult%3A%3AHardwareProduct) | ||
|
||
### json\_schema | ||
|
||
Type: belongs\_to | ||
|
||
Related object: [Conch::DB::Result::JSONSchema](../modules/Conch%3A%3ADB%3A%3AResult%3A%3AJSONSchema) | ||
|
||
## 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/](https://www.mozilla.org/en-US/MPL/2.0/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.