From 49b660d84f215407ed4dadaefa3b5c58b12f3389 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 2 Aug 2016 15:01:29 +0200 Subject: [PATCH] Fixed #189 - Increase data size of tanslation strings. --- db/migrate/20160802144900_increase_column_length.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20160802144900_increase_column_length.rb diff --git a/db/migrate/20160802144900_increase_column_length.rb b/db/migrate/20160802144900_increase_column_length.rb new file mode 100644 index 000000000..eeb8b98dc --- /dev/null +++ b/db/migrate/20160802144900_increase_column_length.rb @@ -0,0 +1,9 @@ +class IncreaseColumnLength < ActiveRecord::Migration + def change + change_table(:translations) do |t| + t.change :source, :string, limit: 500, null: false + t.change :target, :string, limit: 500, null: false + t.change :target_initial, :string, limit: 500, null: false + end + end +end