API 1.0.25 update CustomerProperty

This commit is contained in:
Bossanyi Tibor
2021-02-15 18:04:22 +01:00
parent bd0a078640
commit 59d09ed115
9 changed files with 69 additions and 13 deletions
+3 -1
View File
@@ -266,7 +266,9 @@ CREATE TABLE IF NOT EXISTS `customer_property` (
`property_id` int(10) unsigned NOT NULL DEFAULT 0,
`property_value` double unsigned NOT NULL DEFAULT 0,
`date_add` datetime DEFAULT NULL,
PRIMARY KEY (`customer_property_id`) USING BTREE
PRIMARY KEY (`customer_property_id`) USING BTREE,
INDEX `property_id` (`property_id`) USING BTREE,
INDEX `customer_id` (`customer_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
-- Tábla adatainak mentése aitrainer2.customer_property: ~7 rows (hozzávetőleg)
+10
View File
@@ -0,0 +1,10 @@
START TRANSACTION;
ALTER TABLE `customer_property`
ADD INDEX `property_id` (`property_id`),
ADD INDEX `customer_id` (`customer_id`);
UPDATE configuration set config_value = "1.0.25", date_change=CURRENT_DATE WHERE config_key = "db_version";
COMMIT;