Sha256: 830cf35774e3d898a3b4326602890e9640e74edc87da3f48a5bde4a8458d0542
Contents?: true
Size: 479 Bytes
Versions: 24
Compression:
Stored size: 479 Bytes
Contents
class ChangeMarketDatesToDatetime < ActiveRecord::Migration def up remove_column :pages, :market_start_date remove_column :pages, :market_end_date add_column :pages, :market_start_date, :datetime add_column :pages, :market_end_date, :datetime end def down remove_column :pages, :market_start_date remove_column :pages, :market_end_date add_column :pages, :market_start_date, :date add_column :pages, :market_end_date, :date end end
Version data entries
24 entries across 24 versions & 1 rubygems