From 0fb0fb2c52d80af5694ffd63aa7baf4f8b551749 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Sat, 4 Jan 2025 10:05:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=99=BB=E6=97=A5=E5=BF=97=E8=BF=81=E7=A7=BB=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/20241230060309_create_sys_user_login_log.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/database/migrations/20241230060309_create_sys_user_login_log.php b/database/migrations/20241230060309_create_sys_user_login_log.php index 7124a788..839c519a 100644 --- a/database/migrations/20241230060309_create_sys_user_login_log.php +++ b/database/migrations/20241230060309_create_sys_user_login_log.php @@ -32,8 +32,6 @@ class CreateSysUserLoginLog extends Migrator $table->addColumn('user_id', 'integer', ['null' => false, 'comment' => '用户ID']) ->addColumn('ip', 'integer', ['limit' => 10, 'null' => false, 'comment' => '登录IP']) ->addColumn('user_agent', 'string', ['limit' => 255, 'null' => false, 'comment' => '登录设备UA信息']) - ->addColumn('message', 'string', ['limit' => 128, 'null' => true, 'default' => null, 'comment' => '消息']) - ->addColumn('status', 'boolean', ['null' => false, 'default' => 1, 'comment' => '登录状态, 1为成功, -1为失败']) ->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间']) ->create(); }