diff --git a/README.md b/README.md index b19456d..400be37 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ Lastly, run with: You will need a proxy such as nginx to access the forum on the public internet. +## Upgrading + +To upgrade from a previous version, run ``upgrade_sqlite.sh`` + ## Screenshots ![Index](https://static.agreper.com/index.png) diff --git a/upgrade_sqlite.sh b/upgrade_sqlite.sh index c845868..5837d8a 100755 --- a/upgrade_sqlite.sh +++ b/upgrade_sqlite.sh @@ -2,6 +2,10 @@ # Script to upgrade a database from one version to another by adding columns, # tables etc. +# Upgrade scripts go into upgrade/sqlite/ +# If there are multiple changes after a revision but before a new one, suffix a +# letter (e.g. `v0.1.1a`). +# When a new revision is out, add a script that changes just the version. LAST_VERSION=agreper-v0.1.1