today_ai_weather/app/models
songtianlun ca3691004f feat: Convert country timezones to JSONB format
- Changed `timezones` attribute from text to JSONB in `Country`.
- Updated related model methods to handle JSONB data.
- Added a migration to convert existing timezone data.
- Used safe navigation operators to prevent errors.

This change improves the storage and management of timezone
information by using the JSONB data type.  It includes data
migration to handle existing timezone data.
2025-02-15 16:51:36 +08:00
..
ahoy chore: clean up trailing whitespace and formatting 2025-01-27 00:43:36 +08:00
concerns init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
admin_user.rb chore: clean up code style and unused fixtures 2025-01-20 18:08:55 +08:00
application_record.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
city.rb feat: Convert country timezones to JSONB format 2025-02-15 16:51:36 +08:00
country.rb feat: Convert country timezones to JSONB format 2025-02-15 16:51:36 +08:00
region.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
state.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
subregion.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
user.rb feat: enhance user authentication features 2025-02-11 16:18:10 +08:00
weather_art.rb feat: Convert country timezones to JSONB format 2025-02-15 16:51:36 +08:00