This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/db
Sam Saffron fcfaa8b063
PERF: Ensure transaction is of minimal size
A giant transaction in a post migration can be very risky.

This splits the large amount of work this migration needs to do into 2 parts:

1. A re-runnable cleanup job prior to transaction
2. A minimally sized transaction to add the database constraint

This avoids large amounts of churn on the table
2020-08-19 17:15:14 +10:00
..
fixtures FIX: Use a mutex when reseting column information while seeding. 2020-06-23 09:15:47 +08:00
migrate DEV: Move data migration of PostSearchData#private_message into post_migration. 2020-08-18 16:46:14 +08:00
post_migrate PERF: Ensure transaction is of minimal size 2020-08-19 17:15:14 +10:00
api_test_seeds.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00