Remove null constrain from variant and return newly created article.

This commit is contained in:
matthias committed 2026-01-24 02:41:19 +01:00
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;