diff --git a/app/Console/Commands/SyncCustomers.php b/app/Console/Commands/SyncCustomers.php index e3a2595..a2a17ed 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_date`, `frequency`, `active`, `group_id`) + INSERT INTO tasks (`host`, `type`, `params`, `creation_at`, `frequency`, `active`, `group_id`) VALUES(:host, :type, :params, :creation_date, :frequency, :active, :group_id) ', [ 'host' => 'https://'.trim($c->domain),