From 0b66392ac07c320ab182a407905f82babc6be547 Mon Sep 17 00:00:00 2001 From: ahwelp Date: Thu, 8 Aug 2019 20:32:40 +0000 Subject: [PATCH] Changes for the ORM dependence --- config/database_example.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/database_example.php b/config/database_example.php index 5af2b21..11fd28d 100755 --- a/config/database_example.php +++ b/config/database_example.php @@ -1,11 +1,11 @@ 'pgsql', 'host' => 'localhost', 'prefix' => '_urfat', @@ -18,7 +18,7 @@ use BBOrm\Connections as Connections; /* * Mysql * - * Connections::add_connection(Connection::open([ + * Connections::addConnection(Connection::open([ 'driver' => 'mysql', 'host' => 'localhost', 'prefix' => '_urfat', @@ -32,7 +32,7 @@ use BBOrm\Connections as Connections; /* * Sqlite * -Connections::add_connection(Connection::open([ +Connections::addConnection(Connection::open([ 'driver' => 'sqlite', 'prefix' => '_urfat', 'name' => 'database.db'])