{"table_name":"hvnly_audit_log","full_table_name":"wp_hvnly_audit_log","description":"A logging table that records activity, events, or audit history.","detection_method":"static","confidence":"high","create_sql":"CREATE TABLE IF NOT EXISTS wp_hvnly_audit_log ( id bigint(20) NOT NULL AUTO_INCREMENT, user_id bigint(20) DEFAULT NULL, action varchar(100) NOT NULL, entity_type varchar(50) NOT NULL, entity_id bigint(20) DEFAULT NULL, old_value longtext, new_value longtext, ip_address varchar(45) DEFAULT NULL, user_agent text, created_at datetime DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id), KEY idx_action (action), KEY idx_entity (entity_type, entity_id), KEY idx_created (created_at) ) $charset_collate;\"; // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared -- Static CREATE TABLE schema for plugin migration. // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Plugin migration creates custom tables. $result3 = $wpdb->query($sql3);","columns":[{"name":"id","type":"bigint(20)","nullable":false,"primary_key":true},{"name":"user_id","type":"bigint(20)","nullable":true,"primary_key":false},{"name":"action","type":"varchar(100)","nullable":false,"primary_key":false},{"name":"entity_type","type":"varchar(50)","nullable":false,"primary_key":false},{"name":"entity_id","type":"bigint(20)","nullable":true,"primary_key":false},{"name":"old_value","type":"longtext","nullable":true,"primary_key":false},{"name":"new_value","type":"longtext","nullable":true,"primary_key":false},{"name":"ip_address","type":"varchar(45)","nullable":true,"primary_key":false},{"name":"user_agent","type":"text","nullable":true,"primary_key":false},{"name":"created_at","type":"datetime","nullable":true,"primary_key":false}],"plugin":{"slug":"havenlytics","name":"Havenlytics – Real Estate Plugin with Advanced Search, Maps & Property Builder","active_installs":10,"version":"3.1.5","wp_org_url":"https://wordpress.org/plugins/havenlytics/"}}