X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Fen_US-demo.sql;h=f2b7e2f010752e7158cee9716ff49f2117fff5b8;hb=c428c827fef8156052be0e430be9af738536e3b0;hp=d2066ec7a9270ee4e3c6b10d55236db69dbe3ff2;hpb=0fcc421f3bc76dbaf2331a11804d804b08f37545;p=fa-stable.git diff --git a/sql/en_US-demo.sql b/sql/en_US-demo.sql index d2066ec7..f2b7e2f0 100644 --- a/sql/en_US-demo.sql +++ b/sql/en_US-demo.sql @@ -2069,7 +2069,7 @@ CREATE TABLE IF NOT EXISTS `0_supp_trans` ( `rate` double NOT NULL DEFAULT '1', `alloc` double NOT NULL DEFAULT '0', `tax_included` tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (`type`,`trans_no`,`debtor_no`), + PRIMARY KEY (`type`,`trans_no`,`supplier_id`), KEY `supplier_id` (`supplier_id`), KEY `tran_date` (`tran_date`) ) ENGINE=InnoDB;