From 198fea3eb50efa539b877fbafee10ff342390259 Mon Sep 17 00:00:00 2001 From: deanchen Date: Sat, 12 Mar 2022 17:15:46 +0800 Subject: [PATCH] fix: seed --- database/seed/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/database/seed/index.js b/database/seed/index.js index 79c386d..2c03888 100644 --- a/database/seed/index.js +++ b/database/seed/index.js @@ -12,17 +12,16 @@ exports.seed = async ( multiplier = 1 } console.warn("multiplier ", multiplier) - const maxPayout = 1200000 const amount = multiplier * maxPayout await knex("earnings").insert({ worker_id, amount, payment_confirmation_id: uuid(), - payment_method: 'cash', + payment_method: null, currency: 'USD', status: 'calculated', - paid_at: new Date().toISOString(), + paid_at: null, contract_id: '483a1f4e-0c52-4b53-b917-5ff4311ded26', funder_id, calculated_at: new Date().toISOString(),