mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
fix: make schema.sql fully idempotent — add IF NOT EXISTS to all CREATE INDEX, CREATE TRIGGER, and CREATE VIEW statements
This commit is contained in:
3
justfile
3
justfile
@@ -284,8 +284,7 @@ deploy-backup: deploy-backup-script deploy-backup-cron
|
||||
|
||||
[group('deploy')]
|
||||
deploy-check-backup-log:
|
||||
# Show the last 20 lines of the SQLite backup log on the server.
|
||||
ssh -t xamxam "sudo tail -20 /var/log/sqlite-backup.log 2>/dev/null || echo '(log file empty or missing — will be created on first cron run)'"
|
||||
ssh xamxam "tail -20 /var/log/sqlite-backup.log 2>/dev/null || echo '(log file empty or missing — will be created on first cron run)'"
|
||||
|
||||
[group('deploy')]
|
||||
deploy-list-backups:
|
||||
|
||||
Reference in New Issue
Block a user