summaryrefslogtreecommitdiff
path: root/util/devdump.pl
AgeCommit message (Collapse)AuthorFilesLines
2019-12-30Minor refactor: Move all trigger functions and declarations to separate fileYorhel1-0/+1
This keeps the function body and the trigger declaration closer to each other, so it's easier to tell when the function will be called and which cases it needs to handle. If you ignore errors from existing trigger declarations, the triggers.sql script is idempotent and can be used in from scripts.
2019-12-27ulists: Update devdump.plYorhel1-6/+8
2019-10-17Fix the devdumpYorhel1-2/+2
2019-08-15Minor util/sql/ reorganization + Make devdump more robustYorhel1-34/+15
I never really liked the hack that devdump.pl had to use to temporarily disable triggers and references. This new importer first imports all schema-related things, then the data, then the functions and table attributes - like an actual database dump. This restructuring should also make it (slightly) easier to import the "near-complete" database dump, but that's still going to involve a fair amount of scripting. This also fixes #22 - the script now asks whether to import a 'dump.sql' if it exists.
2019-08-09Replace Wikipedia links with Wikidata IDsYorhel1-0/+3
+ Automatically fetch other links from Wikidata
2018-06-03Add development DB dump, remove old devdb, convert README to markdownYorhel1-0/+203