fix: expand compatibility.verification_method CHECK to include vendor_compat + spec_match
This commit is contained in:
parent
51af82bd14
commit
8de025cbcd
17
sql/042-expand-verification-method.sql
Normal file
17
sql/042-expand-verification-method.sql
Normal file
@ -0,0 +1,17 @@
|
||||
-- Migration 042 — Expand compatibility.verification_method CHECK constraint
|
||||
-- Adds vendor_compat (Flexoptix search API match) and spec_match (form-factor inference)
|
||||
-- to the existing set of allowed verification methods.
|
||||
|
||||
ALTER TABLE compatibility
|
||||
DROP CONSTRAINT IF EXISTS compatibility_verification_method_check;
|
||||
|
||||
ALTER TABLE compatibility
|
||||
ADD CONSTRAINT compatibility_verification_method_check
|
||||
CHECK (verification_method IN (
|
||||
'tested',
|
||||
'vendor_matrix',
|
||||
'vendor_compat',
|
||||
'spec_match',
|
||||
'datasheet',
|
||||
'community'
|
||||
));
|
||||
Loading…
x
Reference in New Issue
Block a user