Schema
Owner
woodseer
Tablespace
(default)
Descriptions
Table of object nautres
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
nobj_id |
serial |
|
nextval('tr_nature_object_nobj_nobj_id_seq'::regclass) |
Digital automatic identifier of the object nature |
|||
|
|
nobj_code |
varchar(16) |
|
|
Unique code to identify the object nature |
||
|
|
nobj_label |
varchar(128) |
|
|
|
label of the object nature |
|
|
|
nobj_description |
varchar(255) |
|
|
|
|
Description of the object nature |
Foreign Keys
There are no foreign keys for table tr_nature_object_nobj
Check Constraints
There are no check constraints for table tr_nature_object_nobj
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
nobj_code |
|
Unique code to identify the object nature |
||
btree |
|
nobj_id |
|
Triggers
There are no triggers for table tr_nature_object_nobj
Rules
There are no rules for table tr_nature_object_nobj
Policies
There are no policies for table tr_nature_object_nobj
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
obj_nobj_id |
nobj_id |
No Action |
No Action |
|
Immediate |
An object is link to 1 and only 1 nature of object |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
6 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_nature_object_nobj (
nobj_id SERIAL,
nobj_code VARCHAR(16) NOT NULL,
nobj_label VARCHAR(128) NOT NULL,
nobj_description VARCHAR(255),
CONSTRAINT c_uni_code_nobj UNIQUE(nobj_code),
CONSTRAINT tr_nature_objet_nobj_pkey PRIMARY KEY(nobj_id)
) ;
COMMENT ON TABLE public.tr_nature_object_nobj
IS 'Table of object nautres';
COMMENT ON COLUMN public.tr_nature_object_nobj.nobj_id
IS 'Digital automatic identifier of the object nature';
COMMENT ON COLUMN public.tr_nature_object_nobj.nobj_code
IS 'Unique code to identify the object nature';
COMMENT ON COLUMN public.tr_nature_object_nobj.nobj_label
IS 'label of the object nature';
COMMENT ON COLUMN public.tr_nature_object_nobj.nobj_description
IS 'Description of the object nature';
COMMENT ON CONSTRAINT c_uni_code_nobj ON public.tr_nature_object_nobj
IS 'Unique code to identify the object nature';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |