acq.purchase_order 'state' field should have a check constraint
Bug #893193 reported by
Ben Ostrowsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
2.0 |
Won't Fix
|
Low
|
Bill Erickson | |||
2.1 |
Fix Released
|
Low
|
Bill Erickson | |||
2.2 |
Fix Released
|
Low
|
Bill Erickson | |||
Main |
Fix Released
|
Low
|
Bill Erickson |
Bug Description
It's possible to UPDATE acq.purchase_order SET state = 'Massachusetts' without the database complaining. In order to prevent this, the 'state' field should be defined as TEXT NOT NULL DEFAULT 'new'::TEXT CHECK (state IN ('new',
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Branch for master/2.2
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp893193- acq-po- state-constrain t