From 99e1d9431cccc30ec3effc7bc739bf0ad66ca170 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Mon, 21 Sep 2026 23:37:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=BC?= =?UTF-8?q?=D0=B8=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- migrations/20260917140000_add_user_avatar.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 migrations/20260917140000_add_user_avatar.php diff --git a/migrations/20260917140000_add_user_avatar.php b/migrations/20260917140000_add_user_avatar.php new file mode 100644 index 0000000..7bffd78 --- /dev/null +++ b/migrations/20260917140000_add_user_avatar.php @@ -0,0 +1,32 @@ +table('users', function (Blueprint $table): void { + $table->string('avatar_path', 255)->default(''); + $table->string('avatar_mime', 100)->default(''); + }); + } + + public function down(): void + { + $this->table('users', function (Blueprint $table): void { + $table->dropColumn('avatar_path'); + $table->dropColumn('avatar_mime'); + }); + } +}