We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8fba21 commit c3b6cceCopy full SHA for c3b6cce
public/index.php
@@ -88,6 +88,21 @@
88
*/
89
Leaf\Database::config(DatabaseConfig());
90
91
+/*
92
+|--------------------------------------------------------------------------
93
+| Sync Leaf Db with ORM and connect
94
95
+|
96
+| Sync Leaf Db with ORM and connect to the database
97
+| This allows you to use Leaf Db without having to initialize it
98
+| in your controllers.
99
100
+| This is optional, you can still use Leaf Db in your controllers. If you
101
+| want to opt into this, just uncomment the line below.
102
103
+*/
104
+// Leaf\Database::syncLeafDb();
105
+
106
/*
107
|--------------------------------------------------------------------------
108
| Initialise Config
0 commit comments