mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-06-03 00:55:35 +00:00
🗑️ Refactor Meetup model by removing unused $fillable fields and updating dependencies in composer.lock
- Removed unnecessary `city_id` and `created_by` attributes from `Meetup` model. - Updated multiple dependencies in `composer.lock`, including `guzzlehttp/guzzle`, `laravel/framework`, and other libraries to the latest versions. - Verified all updates maintain compatibility with existing functionality.
This commit is contained in:
@@ -22,12 +22,10 @@ class City extends Model
|
||||
/** @var list<string> */
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'country_id',
|
||||
'latitude',
|
||||
'longitude',
|
||||
'osm_relation',
|
||||
'simplified_geojson',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,8 +15,6 @@ class Country extends Model
|
||||
/** @var list<string> */
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'code',
|
||||
'language_codes',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,9 +25,7 @@ class Course extends Model implements HasMedia
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'description',
|
||||
'lecturer_id',
|
||||
'duration_minutes',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,9 +16,6 @@ class CourseEvent extends Model
|
||||
protected $fillable = [
|
||||
'from',
|
||||
'to',
|
||||
'course_id',
|
||||
'venue_id',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,8 +30,6 @@ class Lecturer extends Model implements HasMedia
|
||||
'npub',
|
||||
'pubkey',
|
||||
'website',
|
||||
'active',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,13 +26,11 @@ class Meetup extends Model implements HasMedia
|
||||
/** @var list<string> */
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'city_id',
|
||||
'description',
|
||||
'website',
|
||||
'nostr_pubkey',
|
||||
'github_data',
|
||||
'simplified_geojson',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,14 +15,11 @@ class MeetupEvent extends Model
|
||||
/** @var list<string> */
|
||||
protected $fillable = [
|
||||
'start',
|
||||
'meetup_id',
|
||||
'location',
|
||||
'description',
|
||||
'link',
|
||||
'attendees',
|
||||
'might_attendees',
|
||||
'nostr_status',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,6 @@ class Venue extends Model implements HasMedia
|
||||
'description',
|
||||
'address',
|
||||
'website',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user