Skip to content

Commit

Permalink
feat: add syncLeafDb line
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Mar 14, 2023
1 parent d8fba21 commit c3b6cce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions public/index.php
Expand Up @@ -88,6 +88,21 @@
*/
Leaf\Database::config(DatabaseConfig());

/*
|--------------------------------------------------------------------------
| Sync Leaf Db with ORM and connect
|--------------------------------------------------------------------------
|
| Sync Leaf Db with ORM and connect to the database
| This allows you to use Leaf Db without having to initialize it
| in your controllers.
|
| This is optional, you can still use Leaf Db in your controllers. If you
| want to opt into this, just uncomment the line below.
|
*/
// Leaf\Database::syncLeafDb();

/*
|--------------------------------------------------------------------------
| Initialise Config
Expand Down

0 comments on commit c3b6cce

Please sign in to comment.