Closed phiresky closed 5 years ago
No backup is created. I think the migration output is also wrong since my db size doubled from 17M to 34M
https://github.com/larkery/zsh-histdb/blob/0a7a52a59fbc3244392ef5d19ef7c4d6f0b8838b/histdb-migrate#L13
should probably be sqlite3 "${BACKUP_FILE}" < "${MIGRATION_FILENAME}" ? @m42e
sqlite3 "${BACKUP_FILE}" < "${MIGRATION_FILENAME}"
nope, misread the code. that line is fine, looks like making the backup is just missing?
No backup is created. I think the migration output is also wrong since my db size doubled from 17M to 34M
https://github.com/larkery/zsh-histdb/blob/0a7a52a59fbc3244392ef5d19ef7c4d6f0b8838b/histdb-migrate#L13
should probably be
sqlite3 "${BACKUP_FILE}" < "${MIGRATION_FILENAME}"
? @m42e