Skip to content
Snippets Groups Projects
Commit 4efcccf0 authored by Arnaud AUZOLAT's avatar Arnaud AUZOLAT
Browse files

Correction SQL

parent 0b0be104
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -24,6 +24,6 @@ SELECT add_missing_table_field ('public', 'contacts', 'cedex', 'VARCHAR(15)');
SELECT add_missing_table_field ('public', 'organismes', 'cedex', 'VARCHAR(15)');
INSERT INTO metadonnees (id, name, typemetadonnee_id, champfusion, created, modified, active, isrepercutable) VALUES ('-1', 'Date de clôture', 1, 'dateclos', now(), now(), true, true);
INSERT INTO dacos (id, model, foreign_key, alias, lft, rght) VALUES ( -3, 'Metadonnee', '-1', 'Date_de_clôture.-1', (SELECT max(dacos.lft) + 1 FROM dacos), (SELECT max(dacos.rght) + 1 FROM dacos));
COMMIT;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment