|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.1].define(version: 2026_02_11_055758) do |
| 13 | +ActiveRecord::Schema[7.1].define(version: 2026_02_25_022934) do |
14 | 14 | # These are extensions that must be enabled in order to support this database |
15 | 15 | enable_extension "pg_stat_statements" |
16 | 16 | enable_extension "plpgsql" |
|
994 | 994 | t.bigint "supplier_id" |
995 | 995 | t.float "variant_unit_scale" |
996 | 996 | t.string "variant_unit_name", limit: 255 |
| 997 | + t.integer "owner_id" |
997 | 998 | t.index ["primary_taxon_id"], name: "index_spree_variants_on_primary_taxon_id" |
998 | 999 | t.index ["product_id"], name: "index_variants_on_product_id" |
999 | 1000 | t.index ["shipping_category_id"], name: "index_spree_variants_on_shipping_category_id" |
|
1252 | 1253 | add_foreign_key "spree_tax_rates", "spree_zones", column: "zone_id", name: "spree_tax_rates_zone_id_fk" |
1253 | 1254 | add_foreign_key "spree_users", "spree_addresses", column: "bill_address_id", name: "spree_users_bill_address_id_fk" |
1254 | 1255 | add_foreign_key "spree_users", "spree_addresses", column: "ship_address_id", name: "spree_users_ship_address_id_fk" |
| 1256 | + add_foreign_key "spree_variants", "enterprises", column: "owner_id" |
1255 | 1257 | add_foreign_key "spree_variants", "enterprises", column: "supplier_id" |
1256 | 1258 | add_foreign_key "spree_variants", "spree_products", column: "product_id", name: "spree_variants_product_id_fk" |
1257 | 1259 | add_foreign_key "spree_variants", "spree_shipping_categories", column: "shipping_category_id" |
|
0 commit comments