title: Redbean + Slim Framework issue , RedBeanPHP\RedException\SQL SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_api.post' doesn't exist
body: <p>I just want to create an application using Slim Framework and RedBeanPHP4, i'm using mysql and the name of database is 'test_api',the db has been created with empty table as my knowledge when using redbeanphp, we could create table on-the-fly. and here is my short code : </p>
  
  <pre><code>&lt;?php   
  
  require 'vendor/autoload.php';
  
  // DB  
  require 'db/rb.php'; 
  R::setup('mysql:host=localhost;dbname=test_api', 'root','mypassword'); 
  R::freeze(true);
  
  // SLIM  
  $app = new \Slim\Slim();
  
  $app-&gt;get('/post', function () use ($app) {     
  $post = R::dispense('post');
  $post-&gt;text = 'Hello World';
  
  $id = R::store($post);
  echo $id; 
  });
  
  $app-&gt;run();  
  ?&gt;
  </code></pre>
  
  <p>but i got an error like this :</p>
  
  <pre><code>    Slim Application Error 
      The application could not run because of the following error:
  
      Details
  
      Type: RedBeanPHP\RedException\SQL  
      Message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_api.post' doesn't exist  
      File: /srv/http/prj/lpse2/db/rb.php  
      Line: 631
  </code></pre>
  
  <p>can anybody here that will help me to solve this issues ?</p>