mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user