Remove null constrain from variant and return newly created article.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- Add migration script here
|
||||
|
||||
-- Remove null constrain for variant
|
||||
ALTER TABLE IF EXISTS public.variant
|
||||
ALTER COLUMN description DROP NOT NULL;
|
||||
|
||||
ALTER TABLE IF EXISTS public.variant
|
||||
ALTER COLUMN ingredients DROP NOT NULL;
|
||||
Reference in New Issue
Block a user