Add database and ORM scaffolding

This commit is contained in:
Alex Cabal 2021-12-09 13:13:16 -06:00
parent 42ba2f8680
commit 9d923605d8
8 changed files with 278 additions and 0 deletions

View file

@ -24,3 +24,5 @@ set_exception_handler(function(Throwable $ex): void{
throw $ex; // Send the exception back to PHP for its usual logging routine.
});
$GLOBALS['DbConnection'] = new DbConnection(DATABASE_DEFAULT_DATABASE, DATABASE_DEFAULT_HOST);