Support » Plugin: Mailchimp for WooCommerce » Terrible design

  • Not even the primary key on the table, and the potential primary key is varchar(255):

    $sql = “CREATE TABLE IF NOT EXISTS {$wpdb->prefix}mailchimp_carts (
    id VARCHAR (255) NOT NULL,
    email VARCHAR (100) NOT NULL,
    user_id INT (11) DEFAULT NULL,
    cart text NOT NULL,
    created_at datetime NOT NULL
    ) $charset_collate;”;

    Just fire the guy who wrote this…

  • The topic ‘Terrible design’ is closed to new replies.