Sha256: 47ac7614f2a052b077774e743c3184de6e117b04421026f9d17beddc6e880f97
Contents?: true
Size: 236 Bytes
Versions: 42
Compression:
Stored size: 236 Bytes
Contents
class AddPublishedAtToLabels < ActiveRecord::Migration def self.up add_column :labels, "published_at", :date unless column_exists? :labels, "published_at" end def self.down remove_column :labels, "published_at" end end
Version data entries
42 entries across 42 versions & 1 rubygems