herokustrapiheroku-postgres

Strapi : why data got deleted every time i update strapi-app and deploy it on heroku


i've made strapi app for my backend and deployed it on Heroku

and it works fine

But when i update strapi app on local and then push it on heroku ,

previous data is deleted , and event admin username and pass is deleted

whay this happen ?

i though this data are on Postgres data base that i have made on heroku and should not be deleted


Solution

  • i found answer

    i used postgres SQL and its work fine