From e48daa00085826806ac0c0395ad42e0d96d90155 Mon Sep 17 00:00:00 2001 From: Axel <1597611+axeloz@users.noreply.github.com> Date: Tue, 21 Dec 2021 20:33:42 +0100 Subject: [PATCH] Fixing customers --- app/Console/Commands/SyncCustomers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncCustomers.php b/app/Console/Commands/SyncCustomers.php index a2a17ed..ba1695e 100644 --- a/app/Console/Commands/SyncCustomers.php +++ b/app/Console/Commands/SyncCustomers.php @@ -108,7 +108,7 @@ class SyncCustomers extends Command if (false === array_search(trim($c->domain), $tasks_flat)) { $ret = app('db')->insert(' - INSERT INTO tasks (`host`, `type`, `params`, `creation_at`, `frequency`, `active`, `group_id`) + INSERT INTO tasks (`host`, `type`, `params`, `created_at`, `frequency`, `active`, `group_id`) VALUES(:host, :type, :params, :creation_date, :frequency, :active, :group_id) ', [ 'host' => 'https://'.trim($c->domain),