diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-12 18:19:49 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-12 18:19:49 -0500 |
| commit | d694362365652bf98ecdcffef0bffa6b5fd0dd94 (patch) | |
| tree | ec15d40e7b9cc4ede6a2b3b700aa7bd501369acc /Omni | |
| parent | 14fdc4b98a9f442df72fb8ff445f4e7f7a24a10e (diff) | |
Fix billing migration to work with SQLite ALTER TABLE limitations
- Remove UNIQUE constraints from ALTER TABLE statements
(SQLite doesn't support adding constraints via ALTER TABLE)
- Add better logging for migration failures (debug level) - Rely on
application logic to ensure uniqueness instead of DB constraint -
This fixes the silent failure where stripe_customer_id and
stripe_subscription_id columns weren't being added
Diffstat (limited to 'Omni')
| -rw-r--r-- | Omni/Bild.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Omni/Bild.nix b/Omni/Bild.nix index d3d5301..a06805c 100644 --- a/Omni/Bild.nix +++ b/Omni/Bild.nix @@ -134,6 +134,7 @@ pkg-config ripgrep rustc + sqlite stripe-cli tree wemux @@ -263,6 +264,7 @@ lolcat ormolu ripgrep + sqlite stripe-cli tree wemux |
