Sha256: da0887c32fc40cd32d86967d310f475132c2541ed3d5640aac67555d11f6b19a
Contents?: true
Size: 241 Bytes
Versions: 4
Compression:
Stored size: 241 Bytes
Contents
class AddPublishedAtToLabels < ActiveRecord::Migration[4.2] 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
4 entries across 4 versions & 1 rubygems