We require that database updates don't rely on Koha:: or C4:: code to reliably maintain idempotency (The underlying methods may change at a future date). This approach uses two INSERT IGNORE statements which should also improve performance. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
|---|---|---|
| .. | ||
| README | ||
| bug_30300-add_expiration_to_messaging_preferences.pl | ||
| skeleton.pl | ||
README
Please put your database revision files in this folder. The Release Manager will remove them here when pushing your patches. To use the skeleton .perl for your update: % cp installer/data/mysql/atomicupdate/skeleton.perl installer/data/mysql/atomicupdate/bug_XXXXX.perl and put your modifications in where noted.