From 1a9c899dbd9d1635b724550aa8bd3ab035b378af Mon Sep 17 00:00:00 2001 From: Esenjin Date: Sun, 5 Jan 2025 22:14:32 +0100 Subject: [PATCH] =?UTF-8?q?renommage=20du=20fichier=20d'initialisation=20d?= =?UTF-8?q?e=20la=20bdd=20et=20suppression=20de=20la=20cr=C3=A9ation=20de?= =?UTF-8?q?=20table=20inutile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init-db-php.php => init-db.php | 8 -------- 1 file changed, 8 deletions(-) rename init-db-php.php => init-db.php (89%) diff --git a/init-db-php.php b/init-db.php similarity index 89% rename from init-db-php.php rename to init-db.php index cf11904..1930a43 100644 --- a/init-db-php.php +++ b/init-db.php @@ -10,14 +10,6 @@ $db->exec('CREATE TABLE IF NOT EXISTS admins ( created_at DATETIME DEFAULT CURRENT_TIMESTAMP )'); -// Créer la table des albums protégés -$db->exec('CREATE TABLE IF NOT EXISTS protected_albums ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - path TEXT UNIQUE NOT NULL, - password_hash TEXT NOT NULL, - created_at DATETIME DEFAULT CURRENT_TIMESTAMP -)'); - // Créer la nouvelle table des clés de partage $db->exec('CREATE TABLE IF NOT EXISTS share_keys ( id INTEGER PRIMARY KEY AUTOINCREMENT,