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/MetaMigrator.php +2 -0 1.5.21trunk View file →
@@ -18,8 +18,9 @@
18 18 $table = $wpdb->prefix .'fcal_meta';
19 19 $indexPrefix = $wpdb->prefix .'fcal_mt_';
20 20
21 21 if ($wpdb->get_var($wpdb->prepare("SHOW TABLES LIKE %s", $table)) != $table) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery
22 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange
22 23 $sql = "CREATE TABLE $table (
23 24 `id` BIGINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
24 25 `object_type` VARCHAR(50) NOT NULL,
25 26 `object_id` BIGINT NULL,
@@ -33,8 +34,9 @@
33 34 ) $charsetCollate;";
34 35
35 36 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
36 37
38 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- dbDelta() is the safe schema-change wrapper.
37 39 dbDelta($sql);
38 40 }
39 41 }
40 42 }