Sha256: d5867e5cefe0b4e6fcf217e9899b12b9bedf7c4aacfaf87e3c7fbf719dbcdee3

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

class AddJsonColumnToNotifications < ActiveRecord::Migration
  def up
  	add_column :notify_user_notifications, :json, :json, default: {}
  end

  def down
  	remove_column :notify_user_notifications, :json
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notify_user-0.0.8 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.7 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.6 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.5 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb