```ruby
class PrefixVolumePricingTableNames < ActiveRecord::Migration
  def change
    rename_table :volume_prices, :spree_volume_prices
  end
end

```

Fix for applications that have already run prefix migration that was renamed.
user
```ruby
class PrefixVolumePricingTableNames < ActiveRecord::Migration
  def change
    rename_table :volume_prices, :spree_volume_prices unless Spree::VolumePrice.table_exists?
  end
end

```
assistant