Remove null constrain from variant and return newly created article.
This commit is contained in:
1 parent
ea482fab07
commit
3106c3c4ec
2 files changed
+26
-13
No files matched your search
@@ -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