public function createTable()
{
$builder = $this->db->getSchemaBuilder();
$table = $this->app['config']['jables.table'];
if ($builder->hasTable($table)) {
return null;
}
$builder->create($table, function (Blueprint $table) {
$table->increments('id');
$table->enum('type', ['table', 'delta', 'foreign']);
$table->longText('data');
$table->timestamps();
});
return true;
}