Sha256: 5d4e1d309bf020fed2c2e3848ec2c88f419b75d970e1a4ef8ff7dd43ff149fb6
Contents?: true
Size: 333 Bytes
Versions: 2
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true class AddExtraScopesOnRatingRatesTable < ActiveRecord::Migration[5.0] def change add_column :rating_rates, :scope_1, :string add_column :rating_rates, :scope_2, :string remove_index :rating_rates, %i[author_id author_type resource_id resource_type scopeable_id scopeable_type] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rating-0.8.0 | spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb |
rating-0.7.0 | spec/support/db/migrate/add_extra_fields_on_rating_rates_table.rb |