mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
8053cb0c21
Currently when we decide we're going to drop a column in the future we just mark it with a TODO comment and add it to ignored_columns. This makes it instantly unavailable, and we mostly forget about the TODO in the end. 😬
This change adds a HasDeprecatedColumns concern which offers a little bit more flexibility. We can still simulate the old behaviour by setting drop_from to the current version, but we can also set it to a future version, causing it to raise a deprecation warning until then if used.
|
||
---|---|---|
.. | ||
reports | ||
anon_cache_invalidator.rb | ||
cached_counting.rb | ||
category_hashtag.rb | ||
has_custom_fields.rb | ||
has_deprecated_columns.rb | ||
has_destroyed_web_hook.rb | ||
has_sanitizable_fields.rb | ||
has_search_data.rb | ||
has_url.rb | ||
limited_edit.rb | ||
positionable.rb | ||
roleable.rb | ||
searchable.rb | ||
second_factor_manager.rb | ||
stats_cacheable.rb | ||
topic_tracking_state_publishable.rb | ||
trashable.rb |