Fixed column size of reply_to to 300 chars.

This commit is contained in:
Rolf Schmidt 2017-04-27 09:54:38 +02:00
parent 61bcd99b5a
commit 2f2b4e0262
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: 500, null: true
t.column :reply_to, :string, limit: 300, 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: 500
add_column :ticket_articles, :reply_to, :string, limit: 300
end
end