Sindbad~EG File Manager

Current Path : /home/atdotid/posdemo.aturtoko.id/application/migrations/sqlscripts/
Upload File :
Current File : /home/atdotid/posdemo.aturtoko.id/application/migrations/sqlscripts/3.3.0_dbfix.sql

ALTER TABLE `ospos_sales_payments` ADD INDEX `employee_id` (`employee_id`);

ALTER TABLE `ospos_sales_payments`
  ADD CONSTRAINT `ospos_sales_payments_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `ospos_employees` (`person_id`);

ALTER TABLE `ospos_customers` ADD INDEX `sales_tax_code_id` (`sales_tax_code_id`);

ALTER TABLE `ospos_customers`
  ADD CONSTRAINT `ospos_customers_ibfk_3` FOREIGN KEY (`sales_tax_code_id`) REFERENCES `ospos_tax_codes` (`tax_code_id`);

ALTER TABLE `ospos_tax_rates` ADD INDEX `rate_tax_category_id` (`rate_tax_category_id`);

ALTER TABLE `ospos_tax_rates`
  ADD CONSTRAINT `ospos_tax_rates_ibfk_1` FOREIGN KEY (`rate_tax_category_id`) REFERENCES `ospos_tax_categories` (`tax_category_id`);

ALTER TABLE `ospos_tax_rates` ADD INDEX `rate_tax_code_id` (`rate_tax_code_id`);

ALTER TABLE `ospos_tax_rates`
  ADD CONSTRAINT `ospos_tax_rates_ibfk_2` FOREIGN KEY (`rate_tax_code_id`) REFERENCES `ospos_tax_codes` (`tax_code_id`);

ALTER TABLE `ospos_tax_rates` ADD INDEX `rate_jurisdiction_id` (`rate_jurisdiction_id`);

ALTER TABLE `ospos_tax_rates`
  ADD CONSTRAINT `ospos_tax_rates_ibfk_3` FOREIGN KEY (`rate_jurisdiction_id`) REFERENCES `ospos_tax_jurisdictions` (`jurisdiction_id`);

ALTER TABLE `ospos_receivings` ADD INDEX `receiving_time` (`receiving_time`);

ALTER TABLE `ospos_sales_payments` ADD INDEX `payment_time` (`payment_time`);

ALTER TABLE `ospos_inventory` ADD INDEX `trans_date` (`trans_date`);

ALTER TABLE `ospos_expenses` ADD INDEX `date` (`date`);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists