Sha256: db289715cb676dc38fc0dd1b3c816e96e13e7120bd1c3e0cc37fdbcf642809ff
Contents?: true
Size: 741 Bytes
Versions: 27
Compression:
Stored size: 741 Bytes
Contents
class AddEnvironmentFields < ActiveRecord::Migration[5.0] def change unless column_exists? :zuora_connect_app_instances, :environment add_column :zuora_connect_app_instances, :environment, :text, default: "" end unless column_exists? :zuora_connect_app_instances, :organizations add_column :zuora_connect_app_instances, :organizations, :jsonb, default: [] end if column_exists? :zuora_connect_app_instances, :organizations change_column :zuora_connect_app_instances, :organizations, :jsonb, default: [] end unless column_exists? :zuora_connect_app_instances, :zuora_global_tenant_id add_column :zuora_connect_app_instances, :zuora_global_tenant_id, :text, default: "" end end end
Version data entries
27 entries across 27 versions & 1 rubygems