modifications dates

This commit is contained in:
francois 2020-05-18 12:18:24 -04:00
parent 3770d1562b
commit d4105b31a0
8 changed files with 667 additions and 665 deletions

View file

@ -1,8 +1,5 @@
#!/bin/bash
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/logo.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/adresse.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/association.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/coordonnees.sql
@ -10,12 +7,14 @@ psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/etablissement.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/evenement.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/licence.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/logo.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/personne.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/projet.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/association_adresse.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/association_coordonnees.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/association_personne.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/association_logo.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/cours_coordonnees.sql
psql -d etatdulibre -U etatdulibre --no-password -f /uml_generated_code/postgres/cours_etablissement.sql

File diff suppressed because it is too large Load diff

View file

@ -14,8 +14,9 @@ stop:
-docker stop pgadminlibre
clean:
-docker container rm etatdulibre pgadminlibre
-docker image rm etatdulibre pgadminlibre
-docker container rm etatdulibre
-docker container rm pgadminlibre
-docker image rm etatdulibre
-docker network rm librenet
-docker volume rm el_pgdata

View file

@ -74,13 +74,13 @@ questions_entite = {
},
{
'type': 'input',
'name': 'date_fondation',
'message': 'date_fondation'
'name': 'date_debut',
'message': 'date_debut'
},
{
'type': 'input',
'name': 'date_fermeture',
'message': 'date_fermeture'
'name': 'date_fin',
'message': 'date_fin'
}
],
'coordonnees': [
@ -116,6 +116,16 @@ questions_entite = {
'type': 'text',
'name': 'description',
'message': 'description'
},
{
'type': 'input',
'name': 'date_debut',
'message': 'date_debut'
},
{
'type': 'input',
'name': 'date_fin',
'message': 'date_fin'
}
],
'etablissement': [
@ -152,11 +162,6 @@ questions_entite = {
'name': 'detail_recurrence',
'message': 'detail_recurrence'
},
{
'type': 'input',
'name': 'premiere_date',
'message': 'premiere_date'
},
{
'type': 'text',
'name': 'description',

View file

@ -10,8 +10,7 @@ CREATE TABLE adresse (
type_rue character varying NOT NULL ,
nom_rue character varying NOT NULL ,
code_postal character varying NOT NULL ,
ville character varying NOT NULL ,
date_saisie date NOT NULL
ville character varying NOT NULL
);
CREATE SEQUENCE adresse_serial_seq START 1 INCREMENT 1 ;
ALTER TABLE adresse ALTER COLUMN serial SET NOT NULL;

View file

@ -6,13 +6,12 @@
CREATE TABLE association (
assoc_id serial NOT NULL ,
date_saisie date NOT NULL ,
nom character varying NOT NULL ,
sigle character varying,
type character varying,
description character varying,
date_fondation date,
date_fermeture date
date_debut date,
date_fin date
);
CREATE SEQUENCE association_assoc_id_seq START 1 INCREMENT 1 ;
ALTER TABLE association ALTER COLUMN assoc_id SET NOT NULL;

View file

@ -8,7 +8,9 @@ CREATE TABLE cours (
cours_id serial NOT NULL ,
numero character varying,
nom character varying,
description character varying
description character varying,
date_debut date,
date_fin date
);
CREATE SEQUENCE cours_cours_id_seq START 1 INCREMENT 1 ;
ALTER TABLE cours ALTER COLUMN cours_id SET NOT NULL;

View file

@ -11,7 +11,6 @@ CREATE TABLE evenement (
date_fin date NOT NULL ,
est_recurrent character varying NOT NULL ,
detail_recurrence character varying,
premiere_date date,
description character varying
);
CREATE SEQUENCE evenement_event_id_seq START 1 INCREMENT 1 ;