From 5c72aabdea04c41c01b8da1735746ebe67b0443e Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 27 Nov 2013 02:57:02 -0500 Subject: [PATCH] Updated readme for DB migrations reminder --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 81e9e3c6e1..c9a9a1f7bb 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,17 @@ This isn't actually ready for anyone to use yet, as I'm still working out some o ----- +## Important Note on Updating + +Whenever you pull down a new version from master or develop, when you grab the [latest official release](https://github.com/snipe/snipe-it/releases), make sure to run the following commands via command line: + + php composer.phar dump-autoload + php artisan migrate + +Forgetting to do this can mean your DB might end up out of sync with the new files you just pulled, or you may have some funky cached autoloader values. It's a good idea to get into the habit of running these every time you pull anything new down. If there are no database changes to migrate, it won't hurt anything to run migrations anyway. + +----- + ## How to Install ### 1) Downloading