Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change events payload column size from TEXT to MEDIUMTEXT #15649

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/app/models/event/appeal_created.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def subject
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def subject_to_title
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/branch_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def subject
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/build_fail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def reencode_faillog(faillog)
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/build_success.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def state
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/build_unchanged.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def state
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/cleared_decision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def parameters_for_notification
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/comment_for_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def subject
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/comment_for_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def subject
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/comment_for_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/commit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def increase_commits
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/container_published.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ContainerPublished < Base
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/create_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/create_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/create_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def parameters_for_notification
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/delete_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/delete_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/favored_decision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def parameters_for_notification
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/packtrack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Packtrack < Base
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/relationship_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RelationshipCreate < Relationship
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/relationship_delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RelationshipDelete < Relationship
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/repo_build_finished.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def clear_caches
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/repo_build_started.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def clear_caches
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/repo_publish_state.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class RepoPublishState < Base
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/repo_published.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def clear_caches
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def parameters_for_notification
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report_for_comment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ReportForComment < Report
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report_for_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.notification_link_text(payload)
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report_for_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def self.notification_link_text(payload)
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report_for_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ReportForRequest < Report
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/report_for_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ReportForUser < Report
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/request_change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RequestChange < Request
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/request_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/request_delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RequestDelete < Request
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/request_reviews_done.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def subject
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/request_statechange.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/review_changed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def custom_headers
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/review_wanted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def parameters_for_notification
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/service_fail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/service_success.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def metric_fields
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/status_check_for_build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class StatusCheckForBuild < StatusCheck
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/status_check_for_published.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class StatusCheckForPublished < StatusCheck
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/status_check_for_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class StatusCheckForRequest < StatusCheck
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/event/undelete_package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def set_payload(attribs, keys)
# id :bigint not null, primary key
# eventtype :string(255) not null, indexed
# mails_sent :boolean default(FALSE), indexed
# payload :text(65535)
# payload :text(16777215)
# undone_jobs :integer default(0)
# created_at :datetime indexed
# updated_at :datetime
Expand Down
Loading
Loading