Nano-SQL icon indicating copy to clipboard operation
Nano-SQL copied to clipboard

LOG file "backs up" every change to a row

Open codingMASTER398 opened this issue 3 years ago • 1 comments

Which version are you using? ^2.3.7

Describe the bug After any edits to a row in the database, it logs/backs up the entire row. For example, I have a "post" object that I want to add likes to. I do so, but it creates a whole new entry in "c1f7-5985"'s log file with the entire row. I only need to change it, not store another version. Nowhere have I stated that it should do this. This is also the same for other things like user data (separate tables).

E.g. when spamming like/unlike, it adds to the file as such

{"id":4,"text":"Well, how do YOU eat cheese?","creator":1,"created":1646029794133,"likes":[1],"repliesLastID":2,"replies":[{"id":0,"author":2,"text":"I like to eat cheese with my mouth, personally.","likes":[]},{"id":1,"author":1,"text":"I find that quite odd, past me.","likes":[1]},{"id":2,"author":2,"text":"I still agree with my statement about eating cheese with my mouth","likes":[]}]}:1,4,82445,391,2954716879

codingMASTER398 avatar Mar 12 '22 09:03 codingMASTER398

More detail: https://stackoverflow.com/questions/71462361/nano-sql-dumping-all-changes-into-a-log-file-clogging-up-storage?noredirect=1#comment126309685_71462361 @only-cliches

codingMASTER398 avatar Mar 15 '22 04:03 codingMASTER398