Overview
Comment:Version 1.0.6: make sure that debts/credits payment transactions are treated as advanced
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable | 1.0.6
Files: files | file ages | folders
SHA3-256: 322e184f4b34de0b651f59c6c5c344d4b62d317cc96252862a568ddcb5a0cd56
User & Date: bohwaz on 2021-03-01 17:08:26
Other Links: manifest | tags
Context
2021-03-03
23:34
Fix schema display condition check-in: 147742807c user: bohwaz tags: trunk, stable
2021-03-01
17:08
Version 1.0.6: make sure that debts/credits payment transactions are treated as advanced check-in: 322e184f4b user: bohwaz tags: trunk, stable, 1.0.6
02:29
Transform debt and credit payments in advanced transactions check-in: 5595d3ca25 user: bohwaz tags: trunk, stable
Changes

Modified src/VERSION from [4f24748557] to [ef29a5ff49].

1
1.0.5
|
1
1.0.6

Added src/include/data/1.0.6_migration.sql version [6e98c5399a].





>
>
1
2
-- Fix credit/debt payment types
UPDATE acc_transactions SET type = 0 WHERE id_related IS NOT NULL AND type IN (4,5);

Modified src/include/lib/Garradin/Upgrade.php from [f128060934] to [1ba0449d54].

137
138
139
140
141
142
143








144
145
146
147
148
149
150
			if (version_compare($v, '1.0.3', '<'))
			{
				// Missing trigger
				$db->begin();
				$db->import(ROOT . '/include/data/1.0.3_migration.sql');
				$db->commit();
			}









			// Vérification de la cohérence des clés étrangères
			$db->foreignKeyCheck();

			Utils::clearCaches();

			$config->setVersion(garradin_version());







>
>
>
>
>
>
>
>







137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
			if (version_compare($v, '1.0.3', '<'))
			{
				// Missing trigger
				$db->begin();
				$db->import(ROOT . '/include/data/1.0.3_migration.sql');
				$db->commit();
			}

			if (version_compare($v, '1.0.6', '<'))
			{
				// Missing trigger
				$db->begin();
				$db->import(ROOT . '/include/data/1.0.6_migration.sql');
				$db->commit();
			}

			// Vérification de la cohérence des clés étrangères
			$db->foreignKeyCheck();

			Utils::clearCaches();

			$config->setVersion(garradin_version());