Sha256: 1bbefcf24e08927854362e81f31e695fd1dd43d38642659fe6f79ef697e9e8b0

Contents?: true

Size: 204 Bytes

Versions: 24

Compression:

Stored size: 204 Bytes

Contents

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

  def down
  	remove_column :notify_user_notifications, :json
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
notify_user-0.0.14 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.12 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.10 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb
notify_user-0.0.9 lib/generators/notify_user/json_update/templates/add_json_column_to_notifications.rb