Fixed column size of reply_to to 500 chars.

This commit is contained in:
Rolf Schmidt 2017-04-27 09:52:14 +02:00
parent d3a3eed7a4
commit 61bcd99b5a
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ class CreateTicket < ActiveRecord::Migration
t.column :to, :string, limit: 3000, null: true
t.column :cc, :string, limit: 3000, null: true
t.column :subject, :string, limit: 3000, null: true
t.column :reply_to, :string, limit: 3000, null: true
t.column :reply_to, :string, limit: 500, null: true
t.column :message_id, :string, limit: 3000, null: true
t.column :message_id_md5, :string, limit: 32, null: true
t.column :in_reply_to, :string, limit: 3000, null: true

View file

@ -4,6 +4,6 @@ class AddReplyTo < ActiveRecord::Migration
# return if it's a new setup
return if !Setting.find_by(name: 'system_init_done')
add_column :ticket_articles, :reply_to, :string, limit: 3000
add_column :ticket_articles, :reply_to, :string, limit: 500
end
end