X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sql%2Fen_US-demo.sql;h=08dc0230ccb908e5f37937fbb6ab4e7f9ad0df88;hb=7198643c8d4301fe41c70f202c6316a2880c9f52;hp=0c63c06f7125c994964092d564a5dcd803c49e9e;hpb=f7405f00e090326b631322c77a398826ac8115d9;p=fa-stable.git diff --git a/sql/en_US-demo.sql b/sql/en_US-demo.sql index 0c63c06f..08dc0230 100644 --- a/sql/en_US-demo.sql +++ b/sql/en_US-demo.sql @@ -613,6 +613,7 @@ CREATE TABLE IF NOT EXISTS `0_cust_branch` ( `notes` tinytext NOT NULL, `inactive` tinyint(1) NOT NULL default '0', PRIMARY KEY (`branch_code`,`debtor_no`), + KEY `branch_code` (`branch_code`), KEY `branch_ref` (`branch_ref`), KEY `group_no` (`group_no`) ) ENGINE=MyISAM AUTO_INCREMENT=4 ; @@ -1977,7 +1978,9 @@ CREATE TABLE IF NOT EXISTS `0_supp_trans` ( `alloc` double NOT NULL default '0', `tax_included` tinyint(1) NOT NULL default '0', PRIMARY KEY (`type`,`trans_no`), - KEY `supplier_id` (`supplier_id`,`supp_reference`), + KEY `supplier_id` (`supplier_id`), + KEY `SupplierID_2` (`supplier_id`,`supp_reference`), + KEY `type` (`type`), KEY `tran_date` (`tran_date`) ) ENGINE=InnoDB;