Overview
Comment: | Fix missing foreign_keys |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable | 0.9.1 |
Files: | files | file ages | folders |
SHA1: |
d1d91decbfa24603781a2ac3d2097cbb |
User & Date: | bohwaz on 2019-01-22 12:02:21 |
Other Links: | manifest | tags |
Context
2019-01-22
| ||
14:35 | Correction statut cotisation à jour, ou non, pour les cotisations à date fixe check-in: 2fe08af1af user: bohwaz tags: trunk, stable | |
12:02 | Fix missing foreign_keys check-in: d1d91decbf user: bohwaz tags: trunk, stable, 0.9.1 | |
11:39 | Nouvelle version 0.9.1 stable check-in: 3abf798975 user: bohwaz tags: trunk, stable, 0.9.1 | |
Changes
Modified src/www/admin/upgrade.php from [92ea3090d6] to [0233e009d2].
︙ | ︙ | |||
249 250 251 252 253 254 255 256 257 258 259 260 261 262 | if (version_compare($v, '0.9.1', '<')) { // Mise à jour plan comptable: ajout compte licences fédérales $comptes = new Compta\Comptes; $comptes->importPlan(); $db->begin(); $db->exec('INSERT INTO "compta_categories" VALUES(NULL,-1,\'Licences fédérales\',\'Licences payées pour les adhérents (par exemple fédération sportive etc.)\',\'652\');'); $db->import(ROOT . '/include/data/0.9.1.sql'); $db->commit(); | > | 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | if (version_compare($v, '0.9.1', '<')) { // Mise à jour plan comptable: ajout compte licences fédérales $comptes = new Compta\Comptes; $comptes->importPlan(); $db->exec('PRAGMA foreign_keys = OFF;'); $db->begin(); $db->exec('INSERT INTO "compta_categories" VALUES(NULL,-1,\'Licences fédérales\',\'Licences payées pour les adhérents (par exemple fédération sportive etc.)\',\'652\');'); $db->import(ROOT . '/include/data/0.9.1.sql'); $db->commit(); |
︙ | ︙ |