Skip to content

Instantly share code, notes, and snippets.

@mbj
Created November 29, 2015 16:44
Show Gist options
  • Save mbj/33a8cfb6f0103bdc553e to your computer and use it in GitHub Desktop.
Save mbj/33a8cfb6f0103bdc553e to your computer and use it in GitHub Desktop.
Invariant violations from spree factories
* stock_movement - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (1, Product #1 - 9597, Et quibusdam vero dolore numquam ratione. Temporibus consequatur..., 2014-11-29 16:45:22.377, null, product-1-9597, null, null, 1, 1, 2015-11-29 16:45:22.539038, 2015-11-29 16:45:22.539038, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* product_property - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (2, Product #2 - 6090, Tempore voluptas est ut esse molestias in sit. Aut ut debitis an..., 2014-11-29 16:45:22.54812, null, product-2-6090, null, null, 1, 1, 2015-11-29 16:45:22.556678, 2015-11-29 16:45:22.556678, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* reimbursement - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (1, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.612206, 2015-11-29 16:45:22.612206).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* option_value - PG::CheckViolation: ERROR: new row for relation "spree_option_types" violates check constraint "check_spree_option_types_name"
DETAIL: Failing row contains (1, foo-size-1, Size, 1, 2015-11-29 16:45:22.628886, 2015-11-29 16:45:22.628886).
: INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" (ActiveRecord::StatementInvalid)
* option_type - PG::CheckViolation: ERROR: new row for relation "spree_option_types" violates check constraint "check_spree_option_types_name"
DETAIL: Failing row contains (2, foo-size-2, Size, 1, 2015-11-29 16:45:22.63349, 2015-11-29 16:45:22.63349).
: INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" (ActiveRecord::StatementInvalid)
* order - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (2, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.648696, 2015-11-29 16:45:22.648696).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* order_with_totals - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (3, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.655556, 2015-11-29 16:45:22.655556).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* order_with_line_item_quantity - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (4, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.662012, 2015-11-29 16:45:22.662012).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* order_with_line_items - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (5, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.668087, 2015-11-29 16:45:22.668087).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* completed_order_with_totals - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (6, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.674166, 2015-11-29 16:45:22.674166).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* completed_order_with_pending_payment - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (7, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.680423, 2015-11-29 16:45:22.680423).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* order_ready_to_ship - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (8, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.686291, 2015-11-29 16:45:22.686291).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* shipped_order - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (9, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.692124, 2015-11-29 16:45:22.692124).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (1, null, null, null, Promo, null, null, all, null, f, null, 2015-11-29 16:45:22.779597, 2015-11-29 16:45:22.779597, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_item_adjustment - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (2, null, null, null, Promo, null, null, all, null, f, null, 2015-11-29 16:45:22.782113, 2015-11-29 16:45:22.782113, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_order_adjustment - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (3, null, null, null, Promo, null, null, all, null, f, null, 2015-11-29 16:45:22.783959, 2015-11-29 16:45:22.783959, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* promotion_with_item_total_rule - PG::NotNullViolation: ERROR: null value in column "promotion_category_id" violates not-null constraint
DETAIL: Failing row contains (4, null, null, null, Promo, null, null, all, null, f, null, 2015-11-29 16:45:22.78581, 2015-11-29 16:45:22.78581, null).
: INSERT INTO "spree_promotions" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* base_variant - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_available_on"
DETAIL: Failing row contains (3, Product #3 - 3172, Voluptatem officia odit voluptatem et porro aut sint qui. Mollit..., 2014-11-29 16:45:22.790715, null, product-3-3172, null, null, null, 1, 2015-11-29 16:45:22.797493, 2015-11-29 16:45:22.797493, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" (ActiveRecord::StatementInvalid)
* variant - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (4, Product #4 - 7605, Ipsam perspiciatis aut voluptatem asperiores sed. Eligendi illo ..., 2014-11-29 16:45:22.802424, null, product-4-7605, null, null, 1, 1, 2015-11-29 16:45:22.809326, 2015-11-29 16:45:22.809326, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* master_variant - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_available_on"
DETAIL: Failing row contains (5, Product #5 - 1869, Error dignissimos quia aut laudantium. Nobis sapiente vel eius i..., 2014-11-29 16:45:22.814113, null, product-5-1869, null, null, null, 1, 2015-11-29 16:45:22.820161, 2015-11-29 16:45:22.820161, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" (ActiveRecord::StatementInvalid)
* on_demand_variant - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_available_on"
DETAIL: Failing row contains (6, Product #6 - 8697, Quod veniam laborum nihil nostrum nemo earum inventore qui. Dolo..., 2014-11-29 16:45:22.825046, null, product-6-8697, null, null, null, 1, 2015-11-29 16:45:22.831139, 2015-11-29 16:45:22.831139, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" (ActiveRecord::StatementInvalid)
* on_demand_master_variant - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_available_on"
DETAIL: Failing row contains (7, Product #7 - 9379, Rerum eos doloremque voluptatem libero quae atque non aliquid. V..., 2014-11-29 16:45:22.836159, null, product-7-9379, null, null, null, 1, 2015-11-29 16:45:22.84343, 2015-11-29 16:45:22.84343, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" (ActiveRecord::StatementInvalid)
* base_product - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_available_on"
DETAIL: Failing row contains (8, Product #8 - 7106, Minus ut qui facilis eos. Quos natus provident ut commodi. Repel..., 2014-11-29 16:45:22.847313, null, product-8-7106, null, null, null, 1, 2015-11-29 16:45:22.854512, 2015-11-29 16:45:22.854512, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" (ActiveRecord::StatementInvalid)
* custom_product - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (9, Custom Product, Maxime quasi reprehenderit eligendi reiciendis repellat. Veniam ..., 2014-11-29 16:45:22.858594, null, custom-product, null, null, 1, 1, 2015-11-29 16:45:22.866566, 2015-11-29 16:45:22.866566, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* product - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (10, Product #9 - 2778, Voluptatum maiores dicta doloremque aliquam id. Incidunt repella..., 2014-11-29 16:45:22.870484, null, product-9-2778, null, null, 1, 1, 2015-11-29 16:45:22.87805, 2015-11-29 16:45:22.87805, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* product_in_stock - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (11, Product #10 - 2172, Dolorem minus fuga occaecati sint architecto deleniti sed. Volup..., 2014-11-29 16:45:22.882147, null, product-10-2172, null, null, 1, 1, 2015-11-29 16:45:22.889861, 2015-11-29 16:45:22.889861, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* product_with_option_types - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (12, Product #11 - 7128, Sequi occaecati reiciendis deserunt id earum. Ut rerum quae even..., 2014-11-29 16:45:22.893834, null, product-11-7128, null, null, 1, 1, 2015-11-29 16:45:22.901408, 2015-11-29 16:45:22.901408, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* inventory_unit - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (10, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.912606, 2015-11-29 16:45:22.912606).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* refund - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (11, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:22.944477, 2015-11-29 16:45:22.944477).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* customer_return - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (12, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.030093, 2015-11-29 16:45:23.030093).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* customer_return_with_accepted_items - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (13, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.040711, 2015-11-29 16:45:23.040711).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* shipment - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (14, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.072025, 2015-11-29 16:45:23.072025).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* country - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_spree_countries_on_iso3_and_name"
DETAIL: Key (iso3, name)=(USA, United States of America) already exists.
: INSERT INTO "spree_countries" ("iso", "iso3", "iso_name", "name", "numcode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" (ActiveRecord::RecordNotUnique)
* return_authorization - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (15, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.09271, 2015-11-29 16:45:23.09271).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* new_return_authorization - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (16, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.098871, 2015-11-29 16:45:23.098871).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* address - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (17, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.109848, 2015-11-29 16:45:23.109848).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* line_item - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (18, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.123995, 2015-11-29 16:45:23.123995).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* stock_location_with_items - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (13, Product #12 - 7292, Dolorum et aut modi et. Pariatur ad sunt deleniti et id labore. ..., 2014-11-29 16:45:23.137053, null, product-12-7292, null, null, 1, 1, 2015-11-29 16:45:23.144593, 2015-11-29 16:45:23.144593, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* reimbursement_type - PG::NotNullViolation: ERROR: null value in column "type" violates not-null constraint
DETAIL: Failing row contains (1, Reimbursement Type 1, null, t, t, 2015-11-29 16:45:23.215302, 2015-11-29 16:45:23.215302).
: INSERT INTO "spree_reimbursement_types" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" (ActiveRecord::StatementInvalid)
* price - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (14, Product #13 - 1301, Ab voluptatem ipsa et consectetur dignissimos nihil atque. Imped..., 2014-11-29 16:45:23.221149, null, product-13-1301, null, null, 1, 1, 2015-11-29 16:45:23.228365, 2015-11-29 16:45:23.228365, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* payment - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (19, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.248593, 2015-11-29 16:45:23.248593).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* payment_with_refund - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (20, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.262198, 2015-11-29 16:45:23.262198).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* check_payment - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (21, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.270908, 2015-11-29 16:45:23.270908).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* product_option_type - PG::CheckViolation: ERROR: new row for relation "spree_products" violates check constraint "check_spree_products_tax_category_id"
DETAIL: Failing row contains (15, Product #14 - 8923, Repudiandae ullam alias molestiae consequatur libero. Consequunt..., 2014-11-29 16:45:23.276545, null, product-14-8923, null, null, 1, 1, 2015-11-29 16:45:23.283558, 2015-11-29 16:45:23.283558, t, ).
: INSERT INTO "spree_products" ("available_on", "created_at", "description", "name", "shipping_category_id", "slug", "tax_category_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" (ActiveRecord::StatementInvalid)
* state - PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_spree_states_on_abbr_and_country_id"
DETAIL: Key (abbr, country_id)=(AL, 1) already exists.
: INSERT INTO "spree_states" ("abbr", "country_id", "name", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" (ActiveRecord::RecordNotUnique)
* return_item - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (22, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.306071, 2015-11-29 16:45:23.306071).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* exchange_return_item - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (23, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.312136, 2015-11-29 16:45:23.312136).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
* user_with_addreses - PG::CheckViolation: ERROR: new row for relation "spree_addresses" violates check constraint "check_spree_addresses_alternative_phone"
DETAIL: Failing row contains (24, John, Doe, 10 Lovely Street, Northwest, Herndon, 35005, 555-555-0199, null, 555-555-0199, Company, 1, 1, 2015-11-29 16:45:23.389947, 2015-11-29 16:45:23.389947).
: INSERT INTO "spree_addresses" ("address1", "address2", "alternative_phone", "city", "company", "country_id", "created_at", "firstname", "lastname", "phone", "state_id", "updated_at", "zipcode") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" (ActiveRecord::StatementInvalid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment