title: Laravel - How to check if date is already exists?
body: <p>There is my table:</p>
  
  <pre><code>- fortress -
     - id - 
     - date - 
  </code></pre>
  
  <p>In my case I just want to check:</p>
  
  <pre><code>if ($date &gt; Carbon::today())
  {
       // Create a record
  }
  </code></pre>
  
  <p>Then I want only one record to create and I need to check something like this:</p>
  
  <pre><code>if ($date &gt; Carbon::today() &amp;&amp; and exists)
  {
  
  }
  </code></pre>
  
  <p>Just I know how to check if the date is greater than today. But now when I press button 2 times it creates two record. I need to check if the date is greater than today and if it's already exists.</p>