install Laravel Nova

This commit is contained in:
Benjamin Takats
2022-11-29 20:50:18 +01:00
parent e4b644dd8f
commit 24fadca9a6
13 changed files with 861 additions and 11 deletions

View File

@@ -2,9 +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
- database/migrations/2022_11_29_194626_create_countries_table.php
- database/migrations/2022_11_29_194627_create_cities_table.php
- database/migrations/2022_11_29_194628_create_lecturers_table.php
- app/Models/Country.php
- app/Models/City.php
- app/Models/Lecturer.php
@@ -15,10 +15,10 @@ created:
- app/Nova/City.php
- app/Nova/Lecturer.php
models:
Membership: { }
Team: { }
TeamInvitation: { }
User: { }
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' }
Country: { name: string, code: string, relationships: { hasMany: City } }
City: { name: string, country_id: 'id foreign' }
Lecturer: { first_name: string, last_name: string, active: 'boolean default:true' }