The content of this article is deprecated, and will be removed in the future
assetTable
assetTable is contains all assets and their location.
less than a minute
Usage
Primary table for our data structure, it contains all the assets and their location.
Structure
key | data type | description | example |
---|---|---|---|
id | int | Auto incrementing id of the asset | 0 |
assetID | text | Asset name | Printer-03 |
location | text | Physical location of the asset | DCCAachen |
customer | text | Customer name, in most cases “factoryinsight” | factoryinsight |
Relations
DDL
CREATE TABLE IF NOT EXISTS assetTable
(
id SERIAL PRIMARY KEY,
assetID TEXT NOT NULL,
location TEXT NOT NULL,
customer TEXT NOT NULL,
unique (assetID, location, customer)
);
Last modified December 19, 2024: Merge pull request #306 from united-manufacturing-hub/feat/eng-1713/rename-data-model-v1 (667ff8b)