update structure db
gitea/salix/dev This commit has test failures
Details
gitea/salix/dev This commit has test failures
Details
This commit is contained in:
parent
55fd1c233e
commit
b8ea54dfc4
|
@ -1,4 +0,0 @@
|
|||
USE `vn`;
|
||||
|
||||
ALTER TABLE vn.itemLog MODIFY COLUMN userFk int(10) unsigned NULL;
|
||||
ALTER TABLE vn.itemLog MODIFY COLUMN id int(11) NOT NULL AUTO_INCREMENT;
|
|
@ -0,0 +1,21 @@
|
|||
DROP procedure IF EXISTS `hedera`.`basketGetTax`;
|
||||
DELIMITER $$
|
||||
CREATE DEFINER=`root`@`%` PROCEDURE `hedera`.`basketGetTax`()
|
||||
READS SQL DATA
|
||||
BEGIN
|
||||
/**
|
||||
* Returns the taxes for the current client basket.
|
||||
*
|
||||
* @treturn tmp.orderTax
|
||||
*/
|
||||
DROP TEMPORARY TABLE IF EXISTS tmp.order;
|
||||
CREATE TEMPORARY TABLE tmp.order
|
||||
ENGINE = MEMORY
|
||||
SELECT myBasketGetId() orderFk;
|
||||
|
||||
CALL orderGetTax();
|
||||
|
||||
DROP TEMPORARY TABLE IF EXISTS tmp.order;
|
||||
END$$
|
||||
|
||||
DELIMITER ;
|
Loading…
Reference in New Issue