mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-18 20:34:52 +00:00
🎉 **Introduce meetup activity management**
- Added `is_active` and `last_event_at` fields to meetups with migration. - Enhanced UI: Display `Aktiv`/`Inaktiv` badges and last event dates across dashboard, tables, and maps. - Introduced `/meetups:update-activity` command to manage activity flags and timestamps. - Validated latitude/longitude to prevent `0,0` inputs in city creation and updates. - Updated factories and tests to include meetup activity states (`active`, `inactive`).
This commit is contained in:
@@ -41,6 +41,8 @@ class Meetup extends Model implements HasMedia
|
||||
'community',
|
||||
'github_data',
|
||||
'visible_on_map',
|
||||
'is_active',
|
||||
'last_event_at',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -53,6 +55,8 @@ class Meetup extends Model implements HasMedia
|
||||
'city_id' => 'integer',
|
||||
'github_data' => 'json',
|
||||
'simplified_geojson' => 'array',
|
||||
'is_active' => 'boolean',
|
||||
'last_event_at' => 'datetime',
|
||||
];
|
||||
|
||||
protected static function booted()
|
||||
|
||||
Reference in New Issue
Block a user