How to ensure insertions only accept values defined in Enum?
I am trying to create a simple payment records app, which stores the amount and payment type.
For payment type I have ‘cash’ and ‘credit’, which are defined in Mode:
I am trying to create a simple payment records app, which stores the amount and payment type.
For payment type I have ‘cash’ and ‘credit’, which are defined in Mode: