From c10f6dabad5958a9707586cc73eb988ff62fb5a0 Mon Sep 17 00:00:00 2001 From: deanchen Date: Fri, 11 Mar 2022 10:50:32 +0800 Subject: [PATCH] fix: sub org column be able null --- .../migrations/sqls/20220311021020-AddSubOrganization-up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/sqls/20220311021020-AddSubOrganization-up.sql b/database/migrations/sqls/20220311021020-AddSubOrganization-up.sql index 562abed..0d8d0a4 100644 --- a/database/migrations/sqls/20220311021020-AddSubOrganization-up.sql +++ b/database/migrations/sqls/20220311021020-AddSubOrganization-up.sql @@ -1 +1 @@ -ALTER TABLE earnings ADD sub_organization uuid NOT NULL; +ALTER TABLE earnings ADD sub_organization uuid NULL;