More changes

This commit is contained in:
ahwelp
2020-07-22 03:34:33 -03:00
parent 5840d1338b
commit df312bdc1b
11 changed files with 461 additions and 286 deletions
+40
View File
@@ -0,0 +1,40 @@
<?php
use ORM\Connections as Connections;
/*
* PostgreSQL
*
* Connections::addConnection(Connection::open([
'driver' => 'pgsql',
'host' => 'localhost',
'prefix' => '_urfat',
'name' => 'urfat',
'user' => 'urfat',
'pass' => 'urfat'])
, "default");
*/
/*
* Mysql
*
* Connections::addConnection(Connection::open([
'driver' => 'mysql',
'host' => 'localhost',
'prefix' => '_urfat',
'name' => 'urfat',
'user' => 'urfat',
'pass' => 'urfat'])
, "default");
*/
/*
* Sqlite
*
Connections::addConnection(Connection::open([
'driver' => 'sqlite',
'prefix' => '_urfat',
'name' => 'database.db'])
, "default");
*/