mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
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:
commit
9782a0545f
@ -1,7 +1,6 @@
|
|||||||
import { registerEnumType } from 'type-graphql'
|
import { registerEnumType } from 'type-graphql'
|
||||||
|
|
||||||
export enum ContributionCycleType {
|
export enum ContributionCycleType {
|
||||||
NONE = 'none',
|
|
||||||
ONCE = 'once',
|
ONCE = 'once',
|
||||||
HOUR = 'hour',
|
HOUR = 'hour',
|
||||||
TWO_HOURS = 'two_hours',
|
TWO_HOURS = 'two_hours',
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
|||||||
\`valid_from\` datetime NULL,
|
\`valid_from\` datetime NULL,
|
||||||
\`valid_to\` datetime NULL,
|
\`valid_to\` datetime NULL,
|
||||||
\`amount\` bigint(20) NOT 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_per_cycle\` int(10) unsigned NOT NULL DEFAULT '1',
|
||||||
\`max_amount_per_month\` bigint(20) NULL DEFAULT NULL,
|
\`max_amount_per_month\` bigint(20) NULL DEFAULT NULL,
|
||||||
\`total_max_count_of_contribution\` int(10) unsigned NULL DEFAULT NULL,
|
\`total_max_count_of_contribution\` int(10) unsigned NULL DEFAULT NULL,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user