title: Laravel Migration - Adding Check Constraints In Table
body: <p>I want to create a table in Laravel Migration like this-</p>
  
  <pre><code>CREATE TABLE Payroll
  (
   ID int PRIMARY KEY, 
   PositionID INT,
   Salary decimal(9,2) 
   CHECK (Salary &lt; 150000.00)
  );
  </code></pre>
  
  <p>What I have done is-</p>
  
  <pre><code>Schema::create('Payroll', function (Blueprint $table)
  {
      $table-&gt;increments('id');
      $table-&gt;integer('PositionID ');
      $table-&gt;decimal('Salary',9,2);
      //$table-&gt;timestamps();
  });
  </code></pre>
  
  <p>But I can't create this-</p>
  
  <pre><code> CHECK (Salary &lt; 150000.00)
  </code></pre>
  
  <p>Can anyone please tell, how to implement this <code>CHECK</code> constraints in <a href="https://laravel.com/docs/5.1/migrations" rel="noreferrer">Laravel Migration</a> ?</p>