Sha256: 5ed27827cce5a7ebd1645585911f7dd072d19823a70c88641a64ecf9569290f9
Contents?: true
Size: 168 Bytes
Versions: 86
Compression:
Stored size: 168 Bytes
Contents
class FixPostTypeKinds < ActiveRecord::Migration def change Pulitzer::PostType.where(kind: [1,2]).each do |pt| pt.update_columns(kind: 0) end end end
Version data entries
86 entries across 84 versions & 1 rubygems