Sha256: 623b982e6b025ba7e473751270c8ef2975d2bfe0b0c05595edb957d59dcce734

Contents?: true

Size: 204 Bytes

Versions: 5

Compression:

Stored size: 204 Bytes

Contents

class AddFieldsToSchedule < ActiveRecord::Migration[5.1]
  def change
    add_column :schedules, :duration, :integer, default: 3600
    add_column :schedules, :all_day, :boolean, default: false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
date_book-0.0.6 db/migrate/20170807133848_add_fields_to_schedule.rb
date_book-0.0.5 db/migrate/20170807133848_add_fields_to_schedule.rb
date_book-0.0.3 db/migrate/20170807133848_add_fields_to_schedule.rb
date_book-0.0.2 db/migrate/20170807133848_add_fields_to_schedule.rb
date_book-0.0.1 db/migrate/20170807133848_add_fields_to_schedule.rb