Files
einundzwanzig-portal/.blueprint
2022-12-12 19:17:09 +01:00

53 lines
3.0 KiB
Plaintext

created:
- database/factories/CountryFactory.php
- database/factories/CityFactory.php
- database/factories/LecturerFactory.php
- database/factories/ParticipantFactory.php
- database/factories/CategoryFactory.php
- database/factories/CourseFactory.php
- database/factories/VenueFactory.php
- database/factories/EventFactory.php
- database/factories/RegistrationFactory.php
- database/migrations/2022_11_30_170514_create_countries_table.php
- database/migrations/2022_11_30_170515_create_cities_table.php
- database/migrations/2022_11_30_170516_create_lecturers_table.php
- database/migrations/2022_11_30_170517_create_participants_table.php
- database/migrations/2022_11_30_170518_create_categories_table.php
- database/migrations/2022_11_30_170519_create_courses_table.php
- database/migrations/2022_11_30_170520_create_venues_table.php
- database/migrations/2022_11_30_170521_create_events_table.php
- database/migrations/2022_11_30_170522_create_registrations_table.php
- database/migrations/2022_11_30_170523_create_category_course_table.php
- app/Models/Country.php
- app/Models/City.php
- app/Models/Lecturer.php
- app/Models/Participant.php
- app/Models/Category.php
- app/Models/Course.php
- app/Models/Venue.php
- app/Models/Event.php
- app/Models/Registration.php
- app/Nova/Country.php
- app/Nova/City.php
- app/Nova/Lecturer.php
- app/Nova/Participant.php
- app/Nova/Category.php
- app/Nova/Course.php
- app/Nova/Venue.php
- app/Nova/Event.php
- app/Nova/Registration.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' }
Country: { name: string, code: string, relationships: { hasMany: City } }
City: { country_id: 'id foreign', name: string }
Lecturer: { team_id: 'id foreign', name: string, slug: 'string unique', active: 'boolean default:true' }
Participant: { first_name: string, last_name: string }
Category: { name: string, slug: 'string unique', relationships: { belongsToMany: Course } }
Course: { lecturer_id: 'id foreign', name: string, relationships: { belongsToMany: Category } }
Venue: { city_id: 'id foreign', name: string, slug: 'string unique', street: string }
Event: { course_id: 'id foreign', venue_id: 'id foreign', from: datetime, to: datetime }
Registration: { event_id: 'id foreign primary', participant_id: 'id foreign primary', active: 'boolean default:true' }