Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
1234567891011 |
- class FixUsersCustomValues < ActiveRecord::Migration
- def self.up
- CustomValue.where("customized_type = 'User'").
- update_all("customized_type = 'Principal'")
- end
-
- def self.down
- CustomValue.where("customized_type = 'Principal'").
- update_all("customized_type = 'User'")
- end
- end
|