Merge remote-tracking branch 'origin/1920-feature-create-contribution-link-table' into 1921-feature-contribution-link-crud-in-admin-resolver

This commit is contained in:
Claus-Peter Hübner 2022-06-08 21:34:21 +02:00
commit 9782a0545f
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import { registerEnumType } from 'type-graphql'
export enum ContributionCycleType {
NONE = 'none',
ONCE = 'once',
HOUR = 'hour',
TWO_HOURS = 'two_hours',

View File

@ -15,7 +15,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
\`valid_from\` datetime NULL,
\`valid_to\` datetime NULL,
\`amount\` bigint(20) NOT NULL,
\`cycle\` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NONE',
\`cycle\` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ONCE',
\`max_per_cycle\` int(10) unsigned NOT NULL DEFAULT '1',
\`max_amount_per_month\` bigint(20) NULL DEFAULT NULL,
\`total_max_count_of_contribution\` int(10) unsigned NULL DEFAULT NULL,