From 83c66d052a969cab0c1af0a7ecc2823adf8ab8ec Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Thu, 9 Jun 2022 22:27:54 +0200 Subject: [PATCH] Update database/entity/0037-add_contribution_links_table/ContributionLinks.ts Co-authored-by: Moriz Wahl --- .../0037-add_contribution_links_table/ContributionLinks.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/entity/0037-add_contribution_links_table/ContributionLinks.ts b/database/entity/0037-add_contribution_links_table/ContributionLinks.ts index fde67eef3..16500b06b 100644 --- a/database/entity/0037-add_contribution_links_table/ContributionLinks.ts +++ b/database/entity/0037-add_contribution_links_table/ContributionLinks.ts @@ -81,6 +81,6 @@ export class ContributionLinks extends BaseEntity { @Column({ length: 24, nullable: true, collation: 'utf8mb4_unicode_ci' }) code: string - @Column({ name: 'link_enabled', type: 'boolean', nullable: true, default: null }) - linkEnabled: boolean | null + @Column({ name: 'link_enabled', type: 'boolean', default: true }) + linkEnabled: boolean }