Sha256: f78c3b6bcbd17229ae1095e77f0cd8f0be54c598df15f32aa19e02781d562aa2

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

class ChangeColumnTypeTimestampToDate < ActiveRecord::Migration
  def change
    change_column :asset_scans, :issue_date, :date
    change_column :asset_scans, :expiry_date, :date
    change_column :asset_scans, :start_date, :date
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150811135657_change_column_type_timestamp_to_date.rb
pshq_engine-0.1.5 db/migrate/20150811135657_change_column_type_timestamp_to_date.rb
pshq_engine-0.0.1 db/migrate/20150811135657_change_column_type_timestamp_to_date.rb