Commit Graph

4 Commits

Author SHA1 Message Date
b0fda61a8e DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
e82b90d6ac correct typo 2019-04-26 18:14:28 +10:00
c009a6ae36 PERF: speed up user deletion logic
Previously any user deletion would scan a very large number of tables

This avoids scans on 6 tables/indexes on delete
2019-04-26 18:11:39 +10:00