diff options
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -104,6 +104,14 @@ files onto the server by hand: what runs should always be a commit. git push prod HEAD:prod && git push origin HEAD:master ``` +## Rolling back + +The previous deploy is the previous commit: `git revert` and push, or push an +older commit to `prod` (`git push -f prod <commit>:prod`). `names` reads its +SQLite state either way. Before the SQLite change, the JSON file it was +imported from is still in the data directory, but it stops at the moment of +the import. + ## Tests ```sh |
