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/CalendarMigrator.php +2 -0 1.5.21trunk 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,
@@ -44,8 +45,9 @@
44 45 ) $charsetCollate;";
45 46
46 47 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
47 48
49 + // phpcs:ignore WordPress.DB.DirectDatabaseQuery.SchemaChange -- dbDelta() is the safe schema-change wrapper.
48 50 dbDelta($sql);
49 51 }
50 52 }
51 53 }