Sha256: e3513025a48ffcc305f6ac21923bd6dca4a7196aef5d69699a5e58ca30c404f2
Contents?: true
Size: 182 Bytes
Versions: 34
Compression:
Stored size: 182 Bytes
Contents
class FixMessagesStickyNull < ActiveRecord::Migration def self.up Message.where('sticky IS NULL').update_all('sticky = 0') end def self.down # nothing to do end end
Version data entries
34 entries across 34 versions & 1 rubygems