Skip to content

Commit 355283e

Browse files
committed
Fix multiple primary key database error
1 parent 04fbb9b commit 355283e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function create_code_snippets_table( $table_name ) {
122122
tags longtext,
123123
scope tinyint(1) default 0,
124124
active tinyint(1) not null default 0,
125-
primary key (id)
125+
primary key (id)
126126
) {$charset_collate};";
127127

128128
dbDelta( $sql );

0 commit comments

Comments
 (0)