diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-11-04 23:46:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 07:46:40 +0000 |
commit | 24b83ff63e7ffd3d412bc9b509102aa2c507ced1 (patch) | |
tree | 3f18ed68bb62f3a597d2417481c7525bf1ac8a41 /models/migrations/migrations.go | |
parent | 1887c75c35c1d16372b1dbe2b792e374b558ce1f (diff) | |
download | gitea-24b83ff63e7ffd3d412bc9b509102aa2c507ced1.tar.gz gitea-24b83ff63e7ffd3d412bc9b509102aa2c507ced1.zip |
Fix milestone deadline and date related problems (#32339)
Use zero instead of 9999-12-31 for deadline
Fix #32291
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r-- | models/migrations/migrations.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index ddf20d9542..41f337b838 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -364,6 +364,7 @@ func prepareMigrationTasks() []*migration { newMigration(304, "Add index for release sha1", v1_23.AddIndexForReleaseSha1), newMigration(305, "Add Repository Licenses", v1_23.AddRepositoryLicenses), newMigration(306, "Add BlockAdminMergeOverride to ProtectedBranch", v1_23.AddBlockAdminMergeOverrideBranchProtection), + newMigration(307, "Fix milestone deadline_unix when there is no due date", v1_23.FixMilestoneNoDueDate), } return preparedMigrations } |