fix: 移除 0001 初始化脚本中与 0006 迁移重复的列定义
gender/bio/tags 由 0006 迁移 ALTER TABLE 添加,0001 基础建表若同时包含 会导致全新安装执行迁移时报重复列错误。
This commit is contained in:
@@ -50,9 +50,6 @@ CREATE TABLE IF NOT EXISTS accounts (
|
||||
profile_url TEXT NOT NULL DEFAULT (''),
|
||||
ip_location VARCHAR(255) NOT NULL DEFAULT '待识别',
|
||||
followers INT NOT NULL DEFAULT 0,
|
||||
gender VARCHAR(16) NOT NULL DEFAULT '',
|
||||
bio TEXT NOT NULL DEFAULT (''),
|
||||
tags VARCHAR(500) NOT NULL DEFAULT '',
|
||||
post_count INT NOT NULL DEFAULT 0,
|
||||
avg_views INT NOT NULL DEFAULT 0,
|
||||
first_seen_at DATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
|
||||
|
||||
Reference in New Issue
Block a user