FIX: Recalculate values for directory_columns.type (PR #13428)

Follow-up to 95b51669ad35b1d51f08a3c2dad1d2b3a474da27 and 04a3cd3814921d53c15c48470c46b13837f72cd7

GitHub

= (type = 0) is cool syntax!

Improved version in FIX: Drop and recreate column properly for directory_columns by markvanlan · Pull Request #13429 · discourse/discourse · GitHub