Sha256: 6af00057a8e4c5be6b5349fa8ad044b6f869cc8359c8738f6d619cb5152bf9ce

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

class AddSentTimeToNotifications < ActiveRecord::Migration
  def change
    add_column :notify_user_notifications, :sent_time, :datetime
    add_column :notify_user_notifications, :group_id, :integer
    add_column :notify_user_notifications, :parent_id, :integer

    add_index :notify_user_notifications, :group_id
    add_index :notify_user_notifications, :parent_id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notify_user-0.3.2 lib/generators/notify_user/aggr_interval_update/templates/add_sent_time_to_notifications.rb
notify_user-0.3.1 lib/generators/notify_user/aggr_interval_update/templates/add_sent_time_to_notifications.rb