title: QLSTATE[42S02]: Base table or view not found: 1146 Table 'invoice.posts' doesn't exist (SQL: select count(*) as aggregate from `posts`
body: <p>if I changed the name of this</p>
  <pre><code>'section_name' =&gt; 'required|unique:posts|max:255',
  'discription' =&gt; 'required',
  </code></pre>
  <p>to this</p>
  <pre><code>'lolate' =&gt; 'required|unique:posts|max:255',
  'body' =&gt; 'required',
  </code></pre>
  <p>it work and return this</p>
  <pre><code>The lolate field is required.
  The body field is required
  </code></pre>
  <p>my controller</p>
  <pre><code>public function store(Request $request)
  {
      $input = $request-&gt;all();
      $validated = $request-&gt;validate([
          'section_name' =&gt; 'required|unique:posts|max:255',
          'discription' =&gt; 'required',
      ]);
  
      sections::create([
          'section_name'=&gt;$request-&gt;section_name,
          'discription'=&gt;$request-&gt;description,
          'Created_by'=&gt;(Auth::user()-&gt;name)
      ]);
      session()-&gt;flash('add','تم إضافة القسم بنجاح');
      return redirect('/sections');
  }
  </code></pre>