columns:
  created_at:
    type: timestamp without time zone
    not_null: NOT NULL
    default: now()
  date_debut_gmt:
    type: timestamp without time zone
    not_null: NOT NULL
  date_entree:
    type: timestamp without time zone
    not_null: NOT NULL
  date_fin_gmt:
    type: timestamp without time zone
    not_null: NOT NULL
  date_groupage:
    type: timestamp without time zone
    not_null: NOT NULL
  date_sortie:
    type: timestamp without time zone
  gme_code:
    type: text
    not_null: NOT NULL
  gme_id:
    type: integer
    not_null: NOT NULL
  gmt_code:
    type: text
    not_null: NOT NULL
  gmt_id:
    type: integer
    not_null: NOT NULL
  nb_jours_presence:
    type: integer
    not_null: NOT NULL
  no_sejour:
    type: text
    not_null: NOT NULL
  types_gmt_code:
    type: text
    not_null: NOT NULL
constraints:
  fk_types_gmt_code:
    type: FOREIGN KEY
    fk_references: FOREIGN KEY (types_gmt_code) REFERENCES activite.t_types_gmt(code)
    column_name: types_gmt_code
    foreign_schema_name: activite
    foreign_table_name: t_types_gmt
    foreign_column_name: code
    on_update: no_action
    on_delete: no_action
  p_sejours_groupes_smr_pkey:
    type: PRIMARY KEY
    column: no_sejour, gmt_code