refactor: rename database → storage

More semantically accurate: contains SQLite files, schema, fixtures, test data.
Updated all references in code, scripts, docs.
This commit is contained in:
Théophile Gervreau-Mercier
2026-02-12 12:12:58 +01:00
parent 0e4921583e
commit 7fca85d1c1
38 changed files with 131 additions and 131 deletions

View File

@@ -357,10 +357,10 @@ posterg-website/
private function getDatabasePath() {
// Check environment
if (file_exists(__DIR__ . '/../database/test.db')) {
return __DIR__ . '/../database/test.db';
if (file_exists(__DIR__ . '/../storage/test.db')) {
return __DIR__ . '/../storage/test.db';
}
return __DIR__ . '/../database/posterg.db';
return __DIR__ . '/../storage/posterg.db';
}
}
```
@@ -387,7 +387,7 @@ posterg-website/
9. **Update .gitignore**:
```
/database/*.db
/storage/*.db
/apps/*/cache/
/shared/cache/
*.log