SIM-Karten: Checkbox "eSIM" zwischen Hauptkarte und Multisim
Hardware-Plastikkarte vs. eSIM-Profil ist eigene Eigenschaft – eSIM kann sowohl Hauptkarte als auch Multisim sein, deshalb dritter Toggle statt entweder/oder. - Schema: SimCard.isEsim Boolean default false, Migration mit IF NOT EXISTS. - Backend: vier SimCard-Schreibpfade in contract.service.ts (Create, Update, Follow-Up, Renewal). - UI: dritte Checkbox in ContractForm zwischen Hauptkarte und Multisim. ContractDetail zeigt blauen eSIM-Badge.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- SIM-Karte bekommt ein optionales `isEsim`-Flag – Hardware-Plastikkarte
|
||||
-- vs. eSIM-Profil. UI-Position: zwischen "Hauptkarte" und "Multisim".
|
||||
--
|
||||
-- IF NOT EXISTS macht den Re-Deploy auf Prod sicher, falls jemand schon
|
||||
-- `prisma db push` gefahren hat.
|
||||
|
||||
ALTER TABLE `SimCard`
|
||||
ADD COLUMN IF NOT EXISTS `isEsim` BOOLEAN NOT NULL DEFAULT false;
|
||||
Reference in New Issue
Block a user