2008.10.16 (changest 528)

ALTER TABLE "Cart_cart" ALTER COLUMN "total" TYPE numeric(10, 2);
ALTER TABLE "Cart_cart" ALTER COLUMN "discounts" TYPE numeric(10, 2);
ALTER TABLE "Cart_cart" ALTER COLUMN "shipment_price" TYPE numeric(10, 2);
ALTER TABLE "Cart_cart" ALTER COLUMN "shipment_tax" TYPE numeric(10, 2);
ALTER TABLE "Cart_cart" ALTER COLUMN "total_taxes" TYPE numeric(10, 2);
ALTER TABLE "Cart_cartitem" ALTER COLUMN "item_value" TYPE numeric(10, 2);
ALTER TABLE "Cart_cartitem" ALTER COLUMN "item_tax" TYPE numeric(10, 2);
ALTER TABLE "Cart_cartitem" ALTER COLUMN "item_total" TYPE numeric(10, 2);
ALTER TABLE "Cart_cartitem" ALTER COLUMN "line_total" TYPE numeric(10, 2);
ALTER TABLE "Cart_cartitem" ALTER COLUMN "total_tax" TYPE numeric(10, 2);

2007.11.18

alter table "Payment_paymentmethod" alter column  "payment_form_module" DROP NOT NULL;
alter table "Payment_paymentmethod" alter column  "payment_form_function" DROP NOT NULL;
alter table "Payment_paymentmethod" rename column  "isEnabled" to "is_enabled";

2007.11.17

drop table "Cart_taxcalulationdetail" ;
CREATE TABLE "Cart_taxcalculationdetail" (
    "id" serial NOT NULL PRIMARY KEY,
    "cart_id" integer NOT NULL,
    "tax_id" integer NOT NULL REFERENCES "Tax_tax" ("id") DEFERRABLE INITIALLY DEFERRED,
    "title" varchar(60) NOT NULL,
    "value" numeric(6, 2) NOT NULL
)
;
ALTER TABLE "Cart_taxcalculationdetail" ADD CONSTRAINT cart_id_refs_id_263c77d8 
FOREIGN KEY ("cart_id") REFERENCES "Cart_cart" ("id") DEFERRABLE INITIALLY DEFERRED;