title: Why is Laravel Eloquent generating SQL without quotation marks?
body: <p>I'm trying to run <code>sudo php artisan migrate db:seed</code> on my Laravel installation and getting the following error:                         </p>
  
  <pre><code>  [Illuminate\Database\QueryException]                                                                                                          
    Array to string conversion (SQL: insert into `sponsor_phones` (`phone_number`, `type`, `is_primary`, `sponsor_id`, `updated_at`, `created_at  
    `) values (247-216-6255 x4356, Home, 1, 101, 2017-05-30 23:31:59, 2017-05-30 23:31:59))                           
  </code></pre>
  
  <p>It seems that the SQL Eloquent is creating for seeding lacks quotation marks where they are neede. Adding quotations in the right places (below) allows it to run. </p>
  
  <pre><code>insert into 
  `sponsor_phones` 
  (`phone_number`,
   `type`, 
   `is_primary`, 
   `sponsor_id`, 
   `updated_at`, 
   `created_at`
   ) 
    values 
    (
    '(732) 540-9730', 
    'Busi', 
    0,
    51, 
    '2017-05-27 21:53:44', 
    '2017-05-27 21:53:44');
  </code></pre>
  
  <p>I'm not sure what's causing this error, and searching for reasons why Eloquent is not adding quotations seems to be failing to produce any useful results.</p>
  
  <p>I've got a <a href="https://github.com/GraniteCiyGearheads3244/SponsorTrackingSystem" rel="nofollow noreferrer">repository</a> up so that you can take a look (and because as an open source project it needs one anyway.)   </p>