Added eloquent and phinx to project to handle database interactions and migrations; added Result model for storing benchmark results
This commit is contained in:
1 parent
323152a8f5
commit
9a65b5f27a
11 files changed
+2064
-13
No files matched your search
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
$capsule = new \Illuminate\Database\Capsule\Manager;
|
||||
$capsule->addConnection($config->get('database'));
|
||||
$capsule->setAsGlobal();
|
||||
$capsule->bootEloquent();
|
||||
|
||||
$container->set('db', function () use ($capsule) {
|
||||
return $capsule;
|
||||
});
|
||||
Reference in new issue
Block a user