Remove null constrain from variant and return newly created article.

This commit is contained in:
2026-01-24 02:41:19 +01:00
parent ea482fab07
commit 3106c3c4ec
2 changed files with 26 additions and 13 deletions
@@ -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;