Sha256: 2504725675b8d80b1a811dd44fd99c387cda3bd260dc118bb57c5bcb00826afa
Contents?: true
Size: 410 Bytes
Versions: 48
Compression:
Stored size: 410 Bytes
Contents
class DorsaleFlyboyTasksNewReminder < ActiveRecord::Migration[5.0] def change rename_column :dorsale_flyboy_tasks, :reminder, :reminder_date add_column :dorsale_flyboy_tasks, :reminder_type, :string add_column :dorsale_flyboy_tasks, :reminder_duration, :integer add_column :dorsale_flyboy_tasks, :reminder_unit, :string Dorsale::Flyboy::Task.update_all(reminder_type: "custom") end end
Version data entries
48 entries across 48 versions & 1 rubygems