From 00a6e861ef7d10f71e6ad8dd02766638e5fdf14b Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Tue, 12 Dec 2023 13:17:02 +0100 Subject: [PATCH] change not null to null --- dlt-database/migrations/0003-refactor_transaction_recipe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlt-database/migrations/0003-refactor_transaction_recipe.ts b/dlt-database/migrations/0003-refactor_transaction_recipe.ts index fc842d49d..f51f277fd 100644 --- a/dlt-database/migrations/0003-refactor_transaction_recipe.ts +++ b/dlt-database/migrations/0003-refactor_transaction_recipe.ts @@ -37,7 +37,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis \`community_id\` int unsigned NOT NULL, \`other_community_id\` int unsigned NULL DEFAULT NULL, \`amount\` decimal(40, 20) NULL DEFAULT NULL, - \`account_balance_created_at\` decimal(40, 20) NOT NULL, + \`account_balance_created_at\` decimal(40, 20) NULL DEFAULT 0.00000000000000000000, \`type\` tinyint NOT NULL, \`created_at\` datetime(3) NOT NULL, \`body_bytes\` blob NOT NULL,