add user migration

This commit is contained in:
Yisroel Baum 2026-05-17 21:50:24 +03:00
parent 50814ffd60
commit 6fbc1fb4f5
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 113 additions and 1 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace App\Database;
use Illuminate\Database\Eloquent\Model;
class UserModel extends Model
{
protected $table = 'users';
public $timestamps = true;
protected $fillable = [
'email',
'password_hash',
];
protected $casts = [
'id' => 'int',
];
}