Schema
Owner
globoxylo
Tablespace
(default)
Descriptions
Table containing the standards referenced in the database
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
std_id |
serial |
|
nextval('tr_standard_std_std_id_seq'::regclass) |
Automatic numeric identifier of the standard |
|||
|
|
std_name |
varchar(50) |
|
|
|
Common name of the standard |
|
|
|
std_date |
date |
|
|
|
|
Date of publication of the standard |
|
|
std_url |
varchar(255) |
|
|
|
|
Url for accessing the standard document |
|
|
std_version |
varchar(10) |
|
|
|
Standard version information |
Foreign Keys
There are no foreign keys for table tr_standard_std
Check Constraints
There are no check constraints for table tr_standard_std
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
std_name, std_version |
|
The name / version pair of a standard must be unique |
||
btree |
|
std_id |
|
Triggers
There are no triggers for table tr_standard_std
Rules
There are no rules for table tr_standard_std
Policies
There are no policies for table tr_standard_std
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
grp_std_id |
std_id |
No Action |
No Action |
|
Immediate |
a grouping can be attached to O or 1 standard |
||||
msam_std_id |
std_id |
No Action |
No Action |
|
Immediate |
a measure can be attached to O or 1 standard |
||||
mtre_std_id |
std_id |
No Action |
No Action |
|
Immediate |
a measure can be attached to O or 1 standard |
||||
mzon_std_id |
std_id |
No Action |
No Action |
|
Immediate |
a measure can be attached to O or 1 standard |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_standard_std (
std_id SERIAL,
std_name VARCHAR(50) NOT NULL,
std_date DATE,
std_url VARCHAR(255),
std_version VARCHAR(10) NOT NULL,
CONSTRAINT c_uni_name_version_std UNIQUE(std_name, std_version),
CONSTRAINT tr_standard_std_pkey PRIMARY KEY(std_id)
) ;
COMMENT ON TABLE public.tr_standard_std
IS 'Table containing the standards referenced in the database';
COMMENT ON COLUMN public.tr_standard_std.std_id
IS 'Automatic numeric identifier of the standard';
COMMENT ON COLUMN public.tr_standard_std.std_name
IS 'Common name of the standard';
COMMENT ON COLUMN public.tr_standard_std.std_date
IS 'Date of publication of the standard';
COMMENT ON COLUMN public.tr_standard_std.std_url
IS 'Url for accessing the standard document';
COMMENT ON COLUMN public.tr_standard_std.std_version
IS 'Standard version information';
COMMENT ON CONSTRAINT c_uni_name_version_std ON public.tr_standard_std
IS 'The name / version pair of a standard must be unique';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |