Sha256: b88aa6eed3a198f256e6e5da2e4d1f80097da1a3060159f567be09c11608a020
Contents?: true
Size: 453 Bytes
Versions: 17
Compression:
Stored size: 453 Bytes
Contents
class AddDeadEntryFields < ActiveRecord::Migration def self.up add_column :entries, :permalink_good, :boolean, :default => true add_column :entries, :permalink_checked_at, :datetime, :default => '1971-01-01 01:01:01', :null => false add_index :entries, :permalink_good end def self.down remove_index :entries, :permalink_good remove_column :entries, :permalink_good remove_column :entries, :permalink_checked_at end end
Version data entries
17 entries across 15 versions & 2 rubygems