I use SQLite in the project, when I do Deploy for hosting, I have to re-create the database, because it is completely empty. How to make cap deploy without cleaning the database?

    1 answer 1

    A similar question has already been. Another question is, if the migrations are not performed (if the size of the base file is zero), then you need to look at what is wrong with the recipe in deploy.rb

    • The fact is that the base is simply deleted, or rather, it is simply not saved: if you make it in the db folder, where it should be, it does not appear at all. And I need the cap to copy (or do something else) the base so that it is saved and does not have to, for example, re-register. Of course, you can manually copy it, but as already mentioned, this is a “crutch”. - Niki-Timofe