Sha256: 894ecda647b0f37f5e6963d05e838312ce345d302517ccd931aa0422d4edb095
Contents?: true
Size: 302 Bytes
Versions: 9
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true class ChangeEndTimeToDuration < ActiveRecord::Migration[4.2] def self.up add_column :events, :duration, :integer remove_column :events, :end_time end def self.down add_column :events, :end_time, :datetime remove_column :events, :duration end end
Version data entries
9 entries across 9 versions & 3 rubygems