mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 08:09:18 +02:00
Add SQLite indexes for contenus page language/tag queries + WIP: Peertube orphans, dialogs, contact decoupling, context note, finality types
This commit is contained in:
8
justfile
8
justfile
@@ -76,6 +76,8 @@ deploy-code:
|
||||
--exclude 'storage/backups/' \
|
||||
--exclude 'storage/logs/' \
|
||||
--exclude 'var/' \
|
||||
--exclude 'composer.json' \
|
||||
--exclude 'composer.lock' \
|
||||
app/ xamxam:/var/www/xamxam/
|
||||
# Deploy nginx config + fix permissions + reload (single server-side run)
|
||||
rsync -v nginx/xamxam.conf xamxam:/tmp/xamxam.conf
|
||||
@@ -442,6 +444,12 @@ query:
|
||||
backup:
|
||||
@sqlite3 app/storage/xamxam.db .dump > app/storage/backup_$(date +%Y%m%d_%H%M%S).sql
|
||||
|
||||
[group('database')]
|
||||
fix-finality-types:
|
||||
# Rename finality types from old forms to canonical names
|
||||
# Approfondi → Approfondie, Didactique → Enseignement, Spécialisé → Spécialisée
|
||||
@php scripts/fix-finality-types.php
|
||||
|
||||
[group('database')]
|
||||
backup-snapshot:
|
||||
# Hot backup using SQLite's .backup API (WAL-safe), then gzip.
|
||||
|
||||
Reference in New Issue
Block a user