mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
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. |
||
|---|---|---|
| .. | ||
| config | ||
| lib | ||
| spec | ||
| .rspec | ||
| Gemfile | ||
| migrations-importer.gemspec | ||