Sha256: a4d34259b547edca8cf6d18c162fe7e6bff422736703fbec3d69f71b90870dad
Contents?: true
Size: 317 Bytes
Versions: 27
Compression:
Stored size: 317 Bytes
Contents
class AddFeaturesToProjects < ActiveRecord::Migration def up add_column :projects, :selected_features, :text, array: true Project.reset_column_information Project.update_all(selected_features: Houston.config.project_features) end def down remove_column :projects, :selected_features end end
Version data entries
27 entries across 27 versions & 1 rubygems