mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
12878: fix migration class name
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class UpdateItemNameToProductInODReport < ActiveRecord::Migration[7.0]
|
||||
class UpdateItemNameToProductInOdReport < ActiveRecord::Migration[7.0]
|
||||
# OD: Orders and Distributors
|
||||
def up
|
||||
# adding subtype filter just to be safe
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_10_02_014059) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_10_23_054951) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_stat_statements"
|
||||
enable_extension "plpgsql"
|
||||
@@ -968,6 +968,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_10_02_014059) do
|
||||
t.bigint "shipping_category_id"
|
||||
t.bigint "primary_taxon_id"
|
||||
t.bigint "supplier_id"
|
||||
t.float "variant_unit_scale"
|
||||
t.string "variant_unit_name", limit: 255
|
||||
t.index ["primary_taxon_id"], name: "index_spree_variants_on_primary_taxon_id"
|
||||
t.index ["product_id"], name: "index_variants_on_product_id"
|
||||
t.index ["shipping_category_id"], name: "index_spree_variants_on_shipping_category_id"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
require 'spec_helper'
|
||||
require_relative '../../db/migrate/20241011071014_update_item_name_to_product_in_od_report'
|
||||
|
||||
RSpec.describe UpdateItemNameToProductInODReport, type: :migration do
|
||||
RSpec.describe UpdateItemNameToProductInOdReport, type: :migration do
|
||||
let!(:report_option_without_item_name_product) do
|
||||
create(
|
||||
:orders_and_distributors_options,
|
||||
|
||||
Reference in New Issue
Block a user