A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(migrations): remove invite user id when migration
LinkinStars72f43a8ef3a7
diff --git a/internal/migrations/v12.go b/internal/migrations/v12.goindex 2107228b..850146ed 100644--- a/internal/migrations/v12.go+++ b/internal/migrations/v12.go@@ -14,7 +14,6 @@ type QuestionPostTime struct {CreatedAt time.Time `xorm:"not null default CURRENT_TIMESTAMP TIMESTAMP created_at"`UpdatedAt time.Time `xorm:"updated_at TIMESTAMP"`UserID string `xorm:"not null default 0 BIGINT(20) INDEX user_id"`- InviteUserID string `xorm:"TEXT invite_user_id"`LastEditUserID string `xorm:"not null default 0 BIGINT(20) last_edit_user_id"`Title string `xorm:"not null default '' VARCHAR(150) title"`OriginalText string `xorm:"not null MEDIUMTEXT original_text"`