• Resolved madis

    (@madis)


    Hi,

    I keep getting reg flags next to my custom tables. I double-checked the naming convention requirements but didn’t have any luck.

    Can it be a false positive, or there’s an error in my code?

    
    $test_table_name = $wpdb->prefix . 'test';
    $sql = "CREATE TABLE $test_table_name ( 	
    	entry_id BIGINT(20) PRIMARY KEY NOT NULL AUTO_INCREMENT,
    	test_col VARCHAR(15) NOT NULL
    	) $charset_collate;
    ";
    dbDelta($sql);
    
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Red flag notification on custom tables’ is closed to new replies.