Just check some how to use git
i mean for commits to the git repo and strapi export
or with git commit i dont need strapi export?
i feel my database goes out of order all the time i must be doing something wrong but i havent found a way to make a proper backup, whenever something breaks im just down to zero
Well depends on your database
or no i switched to mysql now
Then you can use pg_dump pg_restore
ok so i need to stop my container then dump the database
and do git commmit for src dir
Basically your source code (files under src/)
and strapi export?
Contains schemas that then trigger migration of database
will it overwrite database, sorry for all the questions
E.g. the tables and the attributes on those tables will be synced to stuff you have under /src (mostly schemas)
So if you change something in in schema you can expect something going to be removed or added
oh thats great so it removes entries from database itself then
If it’s added likely it’s going to be null by default
if it doesnt find mathcing stuff in the /src files anymore
so the strapi import/export isnt that usefull then seeing its all about the files really
Well that’s another kind of problem