Fixed where clause bug

Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[42S22]: Column not found: 1054 Unknown column
'winning_numbers' in 'where clause'' in
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Connection.php:272
Stack trace:
#0
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Connection.php(272):
PDO->prepare('select count(*)...')
#1
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Connection.php(521):
Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection),
'select count(*)...', Array)
#2
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Connection.php(277):
Illuminate\Database\Connection->run('select count(*)...', Array,
Object(Closure))
#3
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Query/Builder.php(1025):
Illuminate\Database\Connection->select('select count(*)...', Array)
#4
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Query/Builder.php(1015):
Illuminate\Database\Query\Builder->runSele in
/home/santi/lotto/vendor/illuminate/database/Illuminate/Database/Connection.php
on line 556