Removed migrations for now

This commit is contained in:
julien
2026-03-09 03:12:03 +01:00
parent 84cd2a8268
commit 60bd8178e8
2 changed files with 11 additions and 34 deletions

View File

@@ -60,6 +60,17 @@ if (!isset($medooOptions['database_name'])) {
}
$database = new Medoo($medooOptions);
// Créer la table si nécessaire (schéma minimal)
$database->query(
<<<'SQL'
CREATE TABLE IF NOT EXISTS post (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT NOT NULL,
content TEXT NOT NULL
);
SQL
);
// -------------------------
// Services (container simple)
// -------------------------