Files
lunarfront-app/packages/backend/src/db/migrations/0044_repair-pos-consumable.sql
ryan ac9b615470
Some checks failed
Build & Release / build (push) Failing after 1m53s
fix: renumber migrations 0042-0045 after rebase onto main
Main added 0041_app_settings, so branch migrations shift up by one.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 16:06:12 +00:00

6 lines
256 B
SQL

-- Add 'consumable' to repair_line_item_type enum
ALTER TYPE repair_line_item_type ADD VALUE IF NOT EXISTS 'consumable';
-- Add is_consumable flag to product table
ALTER TABLE product ADD COLUMN IF NOT EXISTS is_consumable boolean NOT NULL DEFAULT false;