Initial commit: OMSORG website + Mitarbeiter-App

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Felix Kemmler
2026-06-13 20:03:22 +02:00
co-authored by Claude Sonnet 4.6
commit 8beb0fcf52
103 changed files with 7384 additions and 0 deletions
@@ -0,0 +1,13 @@
<?php
return [
'description' => 'Login attempts table for IP-based rate limiting',
'up' => [
"CREATE TABLE IF NOT EXISTS login_attempts (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
ip VARCHAR(45) NOT NULL DEFAULT '',
username VARCHAR(190) NOT NULL DEFAULT '',
attempted_at VARCHAR(32) NOT NULL DEFAULT ''
)",
"CREATE INDEX idx_login_attempts_ip_time ON login_attempts (ip, attempted_at)",
],
];