mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
install Laravel Nova
This commit is contained in:
17
.blueprint
17
.blueprint
@@ -2,6 +2,9 @@ created:
|
||||
- database/factories/CountryFactory.php
|
||||
- database/factories/CityFactory.php
|
||||
- database/factories/LecturerFactory.php
|
||||
- database/migrations/2022_11_29_193945_create_countries_table.php
|
||||
- database/migrations/2022_11_29_193946_create_cities_table.php
|
||||
- database/migrations/2022_11_29_193947_create_lecturers_table.php
|
||||
- app/Models/Country.php
|
||||
- app/Models/City.php
|
||||
- app/Models/Lecturer.php
|
||||
@@ -11,15 +14,11 @@ created:
|
||||
- app/Nova/Country.php
|
||||
- app/Nova/City.php
|
||||
- app/Nova/Lecturer.php
|
||||
updated:
|
||||
- database/migrations/2022_11_29_193116_create_countries_table.php
|
||||
- database/migrations/2022_11_29_193117_create_cities_table.php
|
||||
- database/migrations/2022_11_29_193118_create_lecturers_table.php
|
||||
models:
|
||||
Membership: { team_id: biginteger, user_id: biginteger, role: 'string nullable' }
|
||||
Team: { user_id: biginteger, name: string, personal_team: boolean }
|
||||
TeamInvitation: { team_id: biginteger, email: string, role: 'string nullable' }
|
||||
User: { name: string, email: string, email_verified_at: 'datetime nullable', password: string, remember_token: 'string:100 nullable', current_team_id: 'biginteger nullable', profile_photo_path: 'string:2048 nullable', two_factor_secret: 'text nullable', two_factor_recovery_codes: 'text nullable', two_factor_confirmed_at: 'datetime nullable' }
|
||||
Membership: { }
|
||||
Team: { }
|
||||
TeamInvitation: { }
|
||||
User: { }
|
||||
Country: { name: string, code: string, relationships: { hasMany: City } }
|
||||
City: { name: string, country_id: 'id foreign', relationships: { belongsTo: Country } }
|
||||
City: { name: string, country_id: 'id foreign' }
|
||||
Lecturer: { first_name: string, last_name: string, active: 'boolean default:true' }
|
||||
|
||||
Reference in New Issue
Block a user