Feature #43895 » 0001-Disable-Use-current-date-as-start-date-for-new-issue.patch
| config/settings.yml | ||
|---|---|---|
|
issue_group_assignment:
|
||
|
default: 0
|
||
|
default_issue_start_date_to_creation_date:
|
||
|
default: 1
|
||
|
default: 0
|
||
|
notified_events:
|
||
|
serialized: true
|
||
|
default:
|
||
| db/migrate/20260320090000_ensure_default_issue_start_date_to_creation_date_is_stored_in_db.rb | ||
|---|---|---|
|
class EnsureDefaultIssueStartDateToCreationDateIsStoredInDb < ActiveRecord::Migration[8.1]
|
||
|
def up
|
||
|
# Preserve the previous default value for existing installations.
|
||
|
Setting.find_or_create_by!(name: 'default_issue_start_date_to_creation_date') do |setting|
|
||
|
setting.value = '1'
|
||
|
end
|
||
|
end
|
||
|
def down
|
||
|
# no-op
|
||
|
end
|
||
|
end
|
||