Sha256: a723ed5f81b85306cb72a92a04301c0e576b1f098370394b3fe929184a1603de
Contents?: true
Size: 328 Bytes
Versions: 103
Compression:
Stored size: 328 Bytes
Contents
class AddFieldTypeToCustomFields < ActiveRecord::Migration[4.2] def up add_column :spotlight_custom_fields, :field_type, :string Spotlight::CustomField.reset_column_information Spotlight::CustomField.update_all field_type: 'text' end def down remove_column :spotlight_custom_fields, :field_type end end
Version data entries
103 entries across 103 versions & 1 rubygems