chore(whatsapp): renumber migration 138 → 140 (after PR #646's 138+139)

PR #646's review-round renumbered its slideshow migrations to 138 + 139
to slot in after PR #649's 137 (whatsapp_template_language). That now
collides with this PR's 138. Slide ours to 140 so all three land in
strict order: #649 (137) → #646 (138, 139) → this PR (140). Content
unchanged; pure rename + a one-line docstring tweak noting the slot.
This commit is contained in:
Paul Nothaft
2026-06-21 21:12:22 +02:00
parent 16055cdc41
commit 1f46a241d2
@@ -1,5 +1,5 @@
/**
* Migration 138: WhatsApp template parameter selection (#647 follow-up).
* Migration 140: WhatsApp template parameter selection (#647 follow-up).
*
* Adds a `template_params` column to `whatsapp_configs` that stores an
* ordered JSON array of slot keys naming which built-in values are sent
@@ -18,8 +18,10 @@
* Known slot keys (any other keys are ignored): `customer_name`,
* `event_name`, `gallery_link`, `password_line`, `expiry_date`.
*
* Additive + `hasColumn`-guarded. The settling number depends on the
* merge order with PR #646; flagged for renumber if that lands first.
* Slot 140: lands after PR #649 (137 whatsapp_template_language) and
* PR #646 (138 slideshow_share, 139 slideshow_styling). Additive +
* `hasColumn`-guarded so re-running on an already-migrated DB is a
* safe no-op.
*/
exports.up = async function (knex) {
if (!(await knex.schema.hasTable('whatsapp_configs'))) return;