|author||Yorhel <email@example.com>||2015-10-21 02:19:15 +0200|
|committer||Yorhel <firstname.lastname@example.org>||2015-10-21 02:28:48 +0200|
SQL: Fix editing + func.sql + triggers.sql + autocreate editing funcs
This changes quite a bit to the way the editing functions work. Because these functions are very repetitive and it's easy to keep things out of sync, I created a script to generate them automatically. I had to rename a few function and table names for consistency to make this work. Since database entries don't have a 'latest' column anymore, and since the order in which tables are updated doesn't have to be fixed, I dropped many of the SQL triggers and replaced them with a edit_committed() function which is called from edit_*_commit() and checks for stuff to be done. Don't forget to run 'make' before importing the update script.
Diffstat (limited to '.gitignore')
1 files changed, 1 insertions, 0 deletions
@@ -14,4 +14,5 @@