Skip to content

Commit

Permalink
add customer meta
Browse files Browse the repository at this point in the history
  • Loading branch information
picocodes committed Oct 31, 2023
1 parent 7fc9f5d commit 345b429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/admin/class-getpaid-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public static function get_db_schema() {
PRIMARY KEY (id),
KEY user_id (user_id),
KEY email (email)
) $charset_collate";
) $charset_collate;";

// Customer meta.
$schema .= "CREATE TABLE {$wpdb->prefix}getpaid_customer_meta (
Expand All @@ -509,7 +509,7 @@ public static function get_db_schema() {
PRIMARY KEY (meta_id),
KEY customer_id (customer_id),
KEY meta_key (meta_key(191))
) $charset_collate";
) $charset_collate;";

return $schema;
}
Expand Down

0 comments on commit 345b429

Please sign in to comment.