Project

General

Profile

Anomalie #1125 » 0002-Update-fields-category-names-in-the-database-on-next.patch

Guillaume AGNIERAY, 09/30/2019 06:08 PM

View differences:

galette/install/scripts/upgrade-to-0.93-mysql.sql
21 21
ALTER TABLE galette_cotisations CHANGE date_fin_cotis date_fin_cotis date NOT NULL default '1901-01-01';
22 22
ALTER TABLE galette_transactions CHANGE trans_date trans_date date NOT NULL default '1901-01-01';
23 23

  
24
UPDATE galette_fields_categories SET category = 'Indentity:' WHERE id_field_category = 1;
25
UPDATE galette_fields_categories SET category = 'Galette-related data:' WHERE id_field_category = 2;
26
UPDATE galette_fields_categories SET category = 'Contact information:' WHERE id_field_category = 3;
27

  
24 28
UPDATE galette_database SET version = 0.93;
25 29
SET FOREIGN_KEY_CHECKS=1;
galette/install/scripts/upgrade-to-0.93-pgsql.sql
22 22
-- add unicity on searches
23 23
CREATE INDEX galette_searches_idx ON galette_searches (form, parameters_sum, id_adh);
24 24

  
25
UPDATE galette_fields_categories SET category = 'Indentity:' WHERE id_field_category = 1;
26
UPDATE galette_fields_categories SET category = 'Galette-related data:' WHERE id_field_category = 2;
27
UPDATE galette_fields_categories SET category = 'Contact information:' WHERE id_field_category = 3;
28

  
25 29
UPDATE galette_database SET version = 0.93;
26
- 
(2-2/5)