1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 02:44:31 +00:00

модели юзеров

This commit is contained in:
nikden13
2020-12-17 02:05:02 +07:00
parent 084edb06fe
commit e0bc94e346
4 changed files with 3 additions and 10 deletions

View File

@@ -9,8 +9,7 @@ class HeadTeacher extends Model
{ {
use HasFactory; use HasFactory;
protected $fillable = [ protected $guarded = [
'user_id',
'updated_at', 'updated_at',
]; ];

View File

@@ -12,8 +12,7 @@ class Parentt extends Model
protected $table = 'parents'; protected $table = 'parents';
protected $fillable = [ protected $guarded = [
'user_id',
'updated_at', 'updated_at',
]; ];

View File

@@ -11,10 +11,6 @@ class Student extends Model
{ {
use HasFactory; use HasFactory;
protected $fillable = [
'user_id',
];
protected $guarded = [ protected $guarded = [
'updated_at', 'updated_at',
]; ];

View File

@@ -10,8 +10,7 @@ class Teacher extends Model
{ {
use HasFactory; use HasFactory;
protected $fillable = [ protected $guarded = [
'user_id',
'updated_at', 'updated_at',
]; ];