File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5619,12 +5619,12 @@ function ( $column ) {
56195619 if ( 'PRIMARY ' === $ info ['INDEX_NAME ' ] ) {
56205620 if ( $ has_autoincrement ) {
56215621 /*
5622- * In MySQL, a compound PRIMARY KEY can have an AUTOINCREMENT
5622+ * In MySQL, a compound PRIMARY KEY can have an AUTO_INCREMENT
56235623 * column, when it is the first column in the key.
56245624 *
56255625 * SQLite doesn't support this, but we can emulate it as follows:
56265626 * 1. Keep only the first column as a PRIMARY KEY.
5627- * Since this is the column that also has AUTOINCREMENT ,
5627+ * Since this is the column that also has AUTO_INCREMENT ,
56285628 * it reasonable to assume that its values are unique.
56295629 * 2. Create a UNIQUE key for all the PRIMARY KEY columns.
56305630 * This is to preserve the index of the compound key.
You can’t perform that action at this time.
0 commit comments