Mercurial > hg > soundsoftware-site
view db/migrate/103_set_custom_fields_editable.rb @ 942:bb4f99a30aee live
Ensure external repo details are passed through WS interface
author | Chris Cannam |
---|---|
date | Wed, 11 Jul 2012 15:45:00 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
class SetCustomFieldsEditable < ActiveRecord::Migration def self.up UserCustomField.update_all("editable = #{CustomField.connection.quoted_false}") end def self.down UserCustomField.update_all("editable = #{CustomField.connection.quoted_true}") end end