Sha256: f7af652c16fde6cc992ab1fb001b1a9121234b023178466718699e4c52ea2c01

Contents?: true

Size: 193 Bytes

Versions: 1

Compression:

Stored size: 193 Bytes

Contents

class AddCustomFieldsToNotifications < ActiveRecord::Migration
  def change
    add_column :notifications, :custom_fields, :text unless column_exists?(:notifications, :custom_fields)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erp_tech_svcs-4.2.0 db/migrate/20150819135108_add_custom_fields_to_notifications.rb