Initial commit: Cloud Control Panel

This commit is contained in:
2026-01-10 01:24:08 +07:00
commit 01d99c5054
69 changed files with 12697 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
return function (PDO $db): void {
$db->exec("
CREATE TABLE IF NOT EXISTS login_throttle (
id INTEGER PRIMARY KEY AUTOINCREMENT,
ip TEXT NOT NULL,
attempts INTEGER NOT NULL DEFAULT 1,
last_attempt INTEGER NOT NULL
);
");
};