Sha256: 26795a555f922ef1d6cd5eb0abae78f2f215301e0b76678398a80db3c1b19c1e

Contents?: true

Size: 340 Bytes

Versions: 13

Compression:

Stored size: 340 Bytes

Contents

class ChangeTimeColumnsToDatetime < ActiveRecord::Migration[6.0]
  def change
    remove_column :ecom_core_crew_times, :checkin_time, :time
    add_column :ecom_core_crew_times, :checkin_time, :datetime
    remove_column :ecom_core_crew_times, :checkout_time, :time
    add_column :ecom_core_crew_times, :checkout_time, :datetime
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ecom_core-1.2.5 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.2.4 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.2.3 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.2.2 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.2.1 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.2.0 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.28 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.27 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.26 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.25 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.24 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.23 db/migrate/20200414185248_change_time_columns_to_datetime.rb
ecom_core-1.1.22 db/migrate/20200414185248_change_time_columns_to_datetime.rb