First commit of relational example

This commit is contained in:
Alex Bilbie
2014-05-09 10:46:59 +01:00
parent 81e9e7364b
commit c5aee31405
14 changed files with 1254 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace RelationalExample\Config;
use Illuminate\Database\Capsule\Manager as Capsule;
include __DIR__.'/../vendor/autoload.php';
$capsule = new Capsule;
$capsule->addConnection([
'driver' => 'sqlite',
'database' => __DIR__.'/oauth2.sqlite3',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci'
]);
$capsule->setAsGlobal();