columns:
|
|
banque:
|
|
type: character(1)
|
|
default: "'0'::bpchar"
|
|
classe_1_id:
|
|
type: bigint
|
|
default: "0"
|
|
classe_2_id:
|
|
type: bigint
|
|
default: "0"
|
|
classe_3_id:
|
|
type: bigint
|
|
default: "0"
|
|
classe_4_id:
|
|
type: bigint
|
|
default: "0"
|
|
classe_5_id:
|
|
type: bigint
|
|
default: "0"
|
|
classe_6_id:
|
|
type: bigint
|
|
default: "0"
|
|
clinique_honoraire:
|
|
type: character(1)
|
|
collectif:
|
|
type: character(1)
|
|
default: "'0'::bpchar"
|
|
compte_general_id:
|
|
type: bigint
|
|
compte_nonsigne_id:
|
|
type: bigint
|
|
compte_nonsigne_numero:
|
|
type: text
|
|
default: "''::text"
|
|
etat:
|
|
type: character(1)
|
|
default: "0"
|
|
inter_site:
|
|
type: character(1)
|
|
default: "'0'::bpchar"
|
|
numero:
|
|
type: text
|
|
not_null: NOT NULL
|
|
numero_extra:
|
|
type: text
|
|
default: "''::bpchar"
|
|
oid:
|
|
type: bigint
|
|
not_null: NOT NULL
|
|
default: "nextval('s_comptes'::regclass)"
|
|
partenaire_id:
|
|
type: bigint
|
|
default: "0"
|
|
sens:
|
|
type: character(1)
|
|
default: "''::bpchar"
|
|
solde_initial:
|
|
type: numeric(13,2)
|
|
default: "0"
|
|
texte:
|
|
type: text
|
|
texte_extra:
|
|
type: text
|
|
default: "''::bpchar"
|
|
type_compta_extra_id:
|
|
type: bigint
|
|
default: "0"
|
|
type_compta_id:
|
|
type: bigint
|
|
not_null: NOT NULL
|
|
constraints:
|
|
t_comptes_pkey:
|
|
type: PRIMARY KEY
|
|
column: oid
|
|
t_comptes_ukey1:
|
|
type: UNIQUE
|
|
column: numero, type_compta_id
|
|
indexes:
|
|
i_comptes_1:
|
|
column: numero
|
|
method: btree
|
|
i_comptes_10:
|
|
column: compte_nonsigne_id
|
|
method: btree
|
|
i_comptes_2:
|
|
column: clinique_honoraire, numero
|
|
method: btree
|
|
i_comptes_3:
|
|
column: type_compta_id
|
|
method: btree
|
|
i_comptes_4:
|
|
column: classe_1_id
|
|
method: btree
|
|
i_comptes_5:
|
|
column: classe_2_id
|
|
method: btree
|
|
i_comptes_6:
|
|
column: classe_3_id
|
|
method: btree
|
|
i_comptes_7:
|
|
column: classe_4_id
|
|
method: btree
|
|
i_comptes_8:
|
|
column: classe_5_id
|
|
method: btree
|
|
i_comptes_9:
|
|
column: classe_6_id
|
|
method: btree
|