i have a php app on Heroku where the user data is stored in sqlite. Every time i update my php files and push it to Heroku, the local sqlite file is also updated...meaning that i lose the working data and get the startup data.
including the file in .gitignore makes sure that this file is not available to the Heroku app. it simply deletes the file from the remote git repository.
git update-index --assume-unchanged fails to mark the sqlite file. it gives me an error saying "unable to mark file".
Need help with having the sqlite file created once and then not updated/deleted at all. Thanx for the suggestions.