0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/migrations/converters/lib
Gerhard Schlager 4c96dc29e4 MT: Keep the real created_at for category moderation groups
Importing category_moderation_groups crashed: its created_at/updated_at are
NOT NULL, but the importer copied only category_id and group_id.

group_users already carries created_at through the IntermediateDB — this table
just ignored it. So I stop ignoring it, the converter carries the source value,
and the importer writes it (CopyStep only fills created_at with NOW() when
column_names lists a timestamp, so I add them there), with updated_at derived
from it. A source without a created_at falls back to the import time.
2026-07-06 10:58:15 +02:00
..
migrations MT: Keep the real created_at for category moderation groups 2026-07-06 10:58:15 +02:00
migrations-converters.rb MT: Run conversion steps concurrently and split the heavy ones across cores 2026-07-03 11:48:25 +02:00