File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ cp .env.example .env
8
8
php artisan key:generate --force
9
9
php artisan storage:link
10
10
php artisan migrate
11
+ # tạo tài khoản admin, nhập [email protected] và password
12
+ php artisan make:filament-user
11
13
```
12
14
13
15
## Đồng bộ code từ template này
Original file line number Diff line number Diff line change 15
15
* @property int $id
16
16
* @property string $name
17
17
* @property string $email
18
+ * @property string|null $avatar
18
19
* @property \Illuminate\Support\Carbon|null $email_verified_at
19
20
* @property string $password
20
21
* @property string|null $remember_token
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public function up(): void
15
15
$ blueprint ->id ();
16
16
$ blueprint ->string ('name ' );
17
17
$ blueprint ->string ('email ' )->unique ();
18
+ $ blueprint ->string ('avatar ' )->nullable ();
18
19
$ blueprint ->timestamp ('email_verified_at ' )->nullable ();
19
20
$ blueprint ->string ('password ' );
20
21
$ blueprint ->rememberToken ();
You can’t perform that action at this time.
0 commit comments