From 7296b312db164d81ed3a1e7c98ba44c450f721e8 Mon Sep 17 00:00:00 2001 From: klnsancho Date: Mon, 17 Nov 2025 19:20:56 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"article-index-css"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article-index-css/database.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 article-index-css/database.sql diff --git a/article-index-css/database.sql b/article-index-css/database.sql new file mode 100644 index 0000000..ba68d90 --- /dev/null +++ b/article-index-css/database.sql @@ -0,0 +1,18 @@ +CREATE DATABASE IF NOT EXISTS cms_simplifie; +USE cms_simplifie; + +CREATE TABLE utilisateur ( + id INT AUTO_INCREMENT PRIMARY KEY, + login VARCHAR(50), + password VARCHAR(255) +); + +CREATE TABLE articles ( + id INT AUTO_INCREMENT PRIMARY KEY, + titre VARCHAR(255), + contenu TEXT, + date_creation DATETIME +); + +INSERT INTO utilisateur (login, password) +VALUES ('admin', '$2y$10$Z2Wxdqeh98H8qDdsK4QvGeZZPaAulxGZ2gUxO4ePgQ1Qsh9TY6Z.C');