Init des modules PaiementALivraison et LivraisonParSecteurs

This commit is contained in:
2021-02-02 11:01:58 +01:00
parent c1daba23d9
commit 2165100ac7
35 changed files with 3884 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
# 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;
-- ---------------------------------------------------------------------
-- delivery_round
-- ---------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `delivery_round`
(
`id` INTEGER NOT NULL AUTO_INCREMENT,
`zip_code` VARCHAR(20) NOT NULL,
`city` VARCHAR(255) NOT NULL,
`address` TEXT,
`day` TINYINT NOT NULL,
`delivery_period` TEXT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
# This restores the fkey checks, after having unset them earlier
SET FOREIGN_KEY_CHECKS = 1;