From 6c1aeda1fec53ca1dd3fee7c86bd5670dde923af Mon Sep 17 00:00:00 2001 From: miaowuawa <2484667023@qq.com> Date: Thu, 17 Jul 2025 11:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/migration/mysql/0013_rank_metrics.up.sql | 1 + scripts/migration/postgres/0012_rank_metrics.up.sql | 1 + scripts/migration/sqlite3/0013_rank_metrics.up.sql | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/migration/mysql/0013_rank_metrics.up.sql b/scripts/migration/mysql/0013_rank_metrics.up.sql index 63122be1..d0bd57bd 100644 --- a/scripts/migration/mysql/0013_rank_metrics.up.sql +++ b/scripts/migration/mysql/0013_rank_metrics.up.sql @@ -13,6 +13,7 @@ CREATE TABLE `p_comment_metric` ( `incentive_score` int unsigned NOT NULL DEFAULT 0, `decay_factor` int unsigned NOT NULL DEFAULT 0, `motivation_factor` int unsigned NOT NULL DEFAULT 0, + `reply_count` int unsigned NOT NULL DEFAULT 0, `is_del` tinyint NOT NULL DEFAULT 0, `created_on` bigint unsigned NOT NULL DEFAULT 0, `modified_on` bigint unsigned NOT NULL DEFAULT 0, diff --git a/scripts/migration/postgres/0012_rank_metrics.up.sql b/scripts/migration/postgres/0012_rank_metrics.up.sql index 270c8330..44889f61 100644 --- a/scripts/migration/postgres/0012_rank_metrics.up.sql +++ b/scripts/migration/postgres/0012_rank_metrics.up.sql @@ -18,6 +18,7 @@ CREATE TABLE p_comment_metric ( incentive_score INT NOT NULL DEFAULT 0, decay_factor INT NOT NULL DEFAULT 0, motivation_factor INT NOT NULL DEFAULT 0, + reply_count INT NOT NULL DEFAULT 0, is_del SMALLINT NOT NULL DEFAULT 0, created_on BIGINT NOT NULL DEFAULT 0, modified_on BIGINT NOT NULL DEFAULT 0, diff --git a/scripts/migration/sqlite3/0013_rank_metrics.up.sql b/scripts/migration/sqlite3/0013_rank_metrics.up.sql index aa4d9c84..002ec92c 100644 --- a/scripts/migration/sqlite3/0013_rank_metrics.up.sql +++ b/scripts/migration/sqlite3/0013_rank_metrics.up.sql @@ -16,6 +16,7 @@ CREATE TABLE p_comment_metric ( "incentive_score" integer NOT NULL DEFAULT 0, "decay_factor" integer NOT NULL DEFAULT 0, "motivation_factor" integer NOT NULL DEFAULT 0, + "reply_count" integer NOT NULL DEFAULT 0, "is_del" integer NOT NULL DEFAULT 0, "created_on" integer NOT NULL DEFAULT 0, "modified_on" integer NOT NULL DEFAULT 0,