7 ms·
You wouldn't necessarily need to track every change, you could just have 2 tables, one which contains the last "saved" version of the document, and one which co
by julesnp 3y ago
You wouldn't necessarily need to track every change, you could just have 2 tables, one which contains the last "saved" version of the document, and one which contains the last modified version of the document. Upon opening after a crash, if there is a more recent modified version, the program will ask if you want to load that version.
- mixmastamyk 3y agoDatabases handle all this natively with transactions and WALs. i.e. Don't need to build a Flintstones version yourself. Also binary documents are a lousy fit with git, smashing square peg into round hole makes little sense.