issues
search
MaksiConGit
/
proyecto-final-tercero
3
stars
0
forks
source link
Como dev, quiero crear modelo, migración y validación de "courses", para poder almacenar cursos
#47
Closed
LucasDLabo
closed
1 month ago
LucasDLabo
commented
1 month ago
Los campos requeridos de Courses:
[x] id()
[x] integer('course_number') => 'required|integer'
[x] string('section') => 'required|string'
[x] foreignId('career_id') -> constrained() -> onUpdate('cascade') -> onDelete('restrict') => 'required|exists:career,id'
[x] boolean('is_deleted')->default(false) => 'boolean'
[x] timestamps()
Los campos requeridos de Courses: