diff options
| author | Luc Donnet | 2018-04-05 16:59:22 +0200 | 
|---|---|---|
| committer | GitHub | 2018-04-05 16:59:22 +0200 | 
| commit | 49ed5c442a18b1a339efa0d2a1bc7b3458148a14 (patch) | |
| tree | 9a76517f9c2a0442226d24e2a42d15912d7d1207 | |
| parent | ed5133f444f2dd5940d1408b0ca988e01c582ef0 (diff) | |
| parent | 4bd66ffb0b86fa736e0fccdb80bb5b5448d78b12 (diff) | |
| download | chouette-core-49ed5c442a18b1a339efa0d2a1bc7b3458148a14.tar.bz2 | |
Merge pull request #449 from af83/6426-fix-vjs-index
6426 Use Jsonb for custom_field_values
| -rw-r--r-- | db/migrate/20180405133659_change_companies_custom_fields_values_type.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/db/migrate/20180405133659_change_companies_custom_fields_values_type.rb b/db/migrate/20180405133659_change_companies_custom_fields_values_type.rb new file mode 100644 index 000000000..b2b6804c7 --- /dev/null +++ b/db/migrate/20180405133659_change_companies_custom_fields_values_type.rb @@ -0,0 +1,5 @@ +class ChangeCompaniesCustomFieldsValuesType < ActiveRecord::Migration +  def change +     change_column :companies, :custom_field_values, :jsonb +  end +end | 
