discourse/db
Ted Johansson 5963c03643
DEV: Change UserField#field_type to an ActiveRecord enum (#27444)
Currently this column is a text column, but by right should only take on one of the values text, confirm, dropdown, multiselect. We can convert this to an ActiveRecord enum instead.

This PR adds a new integer column (field_type_enum) and populates it based on the existing text column (field_type) and adds an alias to replace the latter with the former.
2024-06-12 15:30:13 +08:00
..
fixtures FIX: move something else flag to the bottom (#27366) 2024-06-06 15:45:30 +10:00
migrate DEV: Change UserField#field_type to an ActiveRecord enum (#27444) 2024-06-12 15:30:13 +08:00
post_migrate DEV: Delete upload references on draft cleanup (#26877) 2024-05-06 14:08:10 +08:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00