Increased size channels.options column (fixed datatype).
This commit is contained in:
parent
dfb56eebaa
commit
ed0f858566
2 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@ class CreateTicket < ActiveRecord::Migration
|
||||||
create_table :channels do |t|
|
create_table :channels do |t|
|
||||||
t.references :group, null: true
|
t.references :group, null: true
|
||||||
t.column :area, :string, limit: 100, null: false
|
t.column :area, :string, limit: 100, null: false
|
||||||
t.column :options, :string, limit: 500.kilobytes + 1, null: true
|
t.column :options, :text, limit: 500.kilobytes + 1, null: true
|
||||||
t.column :active, :boolean, null: false, default: true
|
t.column :active, :boolean, null: false, default: true
|
||||||
t.column :preferences, :string, limit: 2000, null: true
|
t.column :preferences, :string, limit: 2000, null: true
|
||||||
t.column :last_log_in, :text, limit: 500.kilobytes + 1, null: true
|
t.column :last_log_in, :text, limit: 500.kilobytes + 1, null: true
|
||||||
|
|
|
@ -4,6 +4,6 @@ class UpdateChannel < ActiveRecord::Migration
|
||||||
# return if it's a new setup
|
# return if it's a new setup
|
||||||
return if !Setting.find_by(name: 'system_init_done')
|
return if !Setting.find_by(name: 'system_init_done')
|
||||||
|
|
||||||
change_column :channels, :options, :string, limit: 500.kilobytes + 1, null: true
|
change_column :channels, :options, :text, limit: 500.kilobytes + 1, null: true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue