PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / trunk
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution vtrunk
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
← All changes | database/Migrations/BookingMetaMigrator.php +2 -0 1.5.21trunk View file →
@@ -19,8 +19,9 @@
19 19
20 20 $indexPrefix = $wpdb->prefix .'fcal_bmt_';
21 21
22 22 if ($wpdb->get_var($wpdb->prepare("SHOW TABLES LIKE %s", $table)) != $table) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery
23 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange
23 24 $sql = "CREATE TABLE $table (
24 25 `id` BIGINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
25 26 `booking_id` BIGINT NULL,
26 27 `meta_key` VARCHAR(192) NOT NULL,
@@ -31,8 +32,9 @@
31 32 INDEX `{$indexPrefix}_bmto_id_key` (`meta_key` )
32 33 ) $charsetCollate;";
33 34 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
34 35
36 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- dbDelta() is the safe schema-change wrapper.
35 37 dbDelta($sql);
36 38 }
37 39 }
38 40 }