feat: automatic db creation and migration

This commit is contained in:
2026-08-28 16:32:25 +03:00
parent 114ba523f4
commit 4fbb8a8e2e
9 changed files with 104 additions and 120 deletions
+2
View File
@@ -99,6 +99,8 @@ CreateApi(function ($api) {
die($cnt);
}
$api->useUpdates(db());
$api->on('/', 'GET', function () {
return 'dengi';
});