-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.blueprint
19 lines (19 loc) · 2.28 KB
/
.blueprint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
created:
- app/Http/Controllers/SessionController.php
- tests/Feature/Http/Controllers/SessionControllerTest.php
- app/Http/Requests/SessionStoreRequest.php
- app/Http/Requests/SessionUpdateRequest.php
- resources/views/session/index.blade.php
- resources/views/session/create.blade.php
- resources/views/session/show.blade.php
- resources/views/session/edit.blade.php
updated:
- routes/web.php
models:
User: { id: 'integer primary autoIncrement', username: 'string unique', full_name: string, email: 'string unique', password: string, ROLE: string, birthdate: 'date nullable', phone_number: 'string nullable', address: 'string nullable', skills: 'json nullable', rating: 'float nullable', resume: 'text nullable', picture: 'string nullable', timestamps: timestamps }
Certification: { id: 'integer primary autoIncrement', user_id: 'integer foreign:users.id', name: string, issuing_organization: string, issue_date: date, expiration_date: date, link: 'text nullable', timestamps: timestamps, relationships: { belongsTo: User } }
Education: { id: 'integer primary autoIncrement', user_id: 'integer foreign:users.id', institution: string, degree: string, field_of_study: string, start_year: integer, end_year: integer, timestamps: timestamps, relationships: { belongsTo: User } }
Experience: { id: 'integer primary autoIncrement', user_id: 'integer foreign:users.id', position: string, company: string, start_date: date, end_date: date, description: text, timestamps: timestamps, relationships: { belongsTo: User } }
Session: { id: 'integer primary autoIncrement', user_id: 'integer foreign:users.id', title: string, scheduled_time: dateTime, description: text, skills_taught: json, location: string, price: decimal, places_limit: integer, timestamps: timestamps, relationships: { belongsTo: User, hasMany: Enrollment } }
Enrollment: { id: 'integer primary autoIncrement', session_id: 'integer foreign:sessions.id', user_id: 'integer foreign:users.id', enrollment_date: date, timestamps: timestamps, relationships: { belongsTo: Session } }
Feedback: { id: 'integer primary autoIncrement', session_id: 'integer foreign:sessions.id', user_id: 'integer foreign:users.id', rating: 'float,', review: 'string,', timestamps: timestamps, relationships: { belongsTo: Session } }