- Implement Country and Region models - Establish relationships between City, Country, and Region - Update ActiveAdmin setup for managing countries and regions - Add localization support for cities and countries in multiple languages - Create necessary migrations to support the new schema This update allows for better categorization of cities under their respective countries and regions, enhancing geographical structure and support for multilingual features.
28 lines
615 B
YAML
28 lines
615 B
YAML
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
#one:
|
|
# name: MyString
|
|
# country: MyString
|
|
# slug: MyString
|
|
# latitude: 1.5
|
|
# longitude: 1.5
|
|
# active: false
|
|
# priority: 1
|
|
# timezone: MyString
|
|
# region: MyString
|
|
# last_weather_fetch: 2025-01-19 10:28:26
|
|
# last_image_generation: 2025-01-19 10:28:26
|
|
#
|
|
#two:
|
|
# name: MyString
|
|
# country: MyString
|
|
# slug: MyString
|
|
# latitude: 1.5
|
|
# longitude: 1.5
|
|
# active: false
|
|
# priority: 1
|
|
# timezone: MyString
|
|
# region: MyString
|
|
# last_weather_fetch: 2025-01-19 10:28:26
|
|
# last_image_generation: 2025-01-19 10:28:26
|