Module Maintenance + création du module Recette
This commit is contained in:
9
local/modules/PayPlugModule/Config/update/1.0.2.sql
Normal file
9
local/modules/PayPlugModule/Config/update/1.0.2.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
# This is a fix for InnoDB in MySQL >= 4.1.x
|
||||
# It "suspends judgement" for fkey relationships until are tables are set.
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
ALTER TABLE `order_pay_plug_multi_payment` ADD COLUMN `amount_refunded` DECIMAL(16,6) DEFAULT 0;
|
||||
ALTER TABLE `order_pay_plug_multi_payment` DROP COLUMN `refunded_at`;
|
||||
|
||||
# This restores the fkey checks, after having unset them earlier
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in New Issue
Block a user