Sha256: c9968108efbf4d27dc7856eee5653f0b96e0220d6404ec62ee488fa491b70cd0
Contents?: true
Size: 323 Bytes
Versions: 58
Compression:
Stored size: 323 Bytes
Contents
class AddFieldTypeToCustomFields < ActiveRecord::Migration 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
58 entries across 58 versions & 1 rubygems