Schema
Owner
biljoucarto
Tablespace
(default)
Descriptions
Table des scénarios
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
scen_id |
serial |
|
nextval('tr_scenario_scen_scen_id_seq'::regclass) |
Identifiant |
|||
|
|
scen_description_fr |
text |
|
|
|
|
Description en français du scénario |
|
|
scen_description_en |
text |
|
|
|
|
Description en anglais du scénario |
|
|
scen_code |
varchar(8) |
|
|
|
Code du scénario |
|
|
|
scen_titre_fr |
varchar |
|
|
|
|
Titre français du scénario |
|
|
scen_titre_en |
varchar |
|
|
|
|
Titre anglais du scénario |
Foreign Keys
There are no foreign keys for table tr_scenario_scen
Check Constraints
There are no check constraints for table tr_scenario_scen
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
scen_id |
|
|||
btree |
|
scen_code |
|
|
Triggers
There are no triggers for table tr_scenario_scen
Rules
There are no rules for table tr_scenario_scen
Policies
There are no policies for table tr_scenario_scen
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
caind_scen_id |
scen_id |
No Action |
No Action |
|
Immediate |
|
||||
scen_id |
scen_id |
No Action |
No Action |
|
Immediate |
|
||||
casind_scen_id |
scen_id |
No Action |
No Action |
|
Immediate |
|
||||
t_carte_statistique_parametre_simulation_caspars_scen_id_fkey | scen_id |
scen_id |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
1 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tr_scenario_scen (
scen_id SERIAL,
scen_description_fr TEXT,
scen_description_en TEXT,
scen_code VARCHAR(8),
scen_titre_fr VARCHAR,
scen_titre_en VARCHAR,
CONSTRAINT tr_scenario_scen_pkey PRIMARY KEY(scen_id),
CONSTRAINT tr_scenario_scen_scen_code_key UNIQUE(scen_code)
) ;
COMMENT ON TABLE public.tr_scenario_scen
IS 'Table des scénarios ';
COMMENT ON COLUMN public.tr_scenario_scen.scen_id
IS 'Identifiant';
COMMENT ON COLUMN public.tr_scenario_scen.scen_description_fr
IS 'Description en français du scénario';
COMMENT ON COLUMN public.tr_scenario_scen.scen_description_en
IS 'Description en anglais du scénario';
COMMENT ON COLUMN public.tr_scenario_scen.scen_code
IS 'Code du scénario';
COMMENT ON COLUMN public.tr_scenario_scen.scen_titre_fr
IS 'Titre français du scénario';
COMMENT ON COLUMN public.tr_scenario_scen.scen_titre_en
IS 'Titre anglais du scénario';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |
![]() ![]() ![]() |