PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 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 All 34 releases
← All changes | database/Migrations/CalendarSlotsMigrator.php +2 -0 1.5.22 → 2.5.0 View file →
@@ -14,8 +14,9 @@
14 14
15 15 $table = $wpdb->prefix . static::$tableName;
16 16
17 17 if ($wpdb->get_var($wpdb->prepare("SHOW TABLES LIKE %s", $table)) != $table) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery
18 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange
18 19 $sql = "CREATE TABLE $table (
19 20 `id` BIGINT(20) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
20 21 `hash` VARCHAR(192) NULL,
21 22 `user_id` BIGINT(20) UNSIGNED NOT NULL,
@@ -47,8 +48,9 @@
47 48 ) $charsetCollate;";
48 49
49 50 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
50 51
52 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- dbDelta() is the safe schema-change wrapper.
51 53 dbDelta($sql);
52 54 }
53 55 }
54 56 }