Added `make upgrade` sql to close #18

It is now possible to type `make upgrade` in the sql/ directory
to safely apply updates to the database.