feat: OIDC 로그인 연동 및 DB 스키마 업데이트

This commit is contained in:
2026-02-02 09:50:25 +09:00
parent 21b6332c9c
commit a976b8a0c6
30 changed files with 2029 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
<?php
// /kngil/bbs/update_schema.php
require_once __DIR__ . '/db_conn.php';
try {
$pdo->exec("ALTER TABLE kngil.users ADD COLUMN IF NOT EXISTS oidc_sub VARCHAR(255) UNIQUE");
echo "Successfully added oidc_sub column to kngil.users table.\n";
} catch (PDOException $e) {
echo "Error: " . $e->getMessage() . "\n";
}