Dump plugins by hash instead of id
The same exact plugins are often included in many different files/mods. Grouping by hash in the sql query will show all files and mods a plugin appears in. Previously, the last file that was processed would overwrite the plugin file and only that single file/mod would appear in the file. Also adds an index on plugins.hash since I'm now querying directly on it.
This commit is contained in:
1
migrations/20220312173403_add_plugin_hash_index.sql
Normal file
1
migrations/20220312173403_add_plugin_hash_index.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE INDEX ON plugins (hash);
|
||||
Reference in New Issue
Block a user