postgres does support primary keys in the mysql format, we don't need to rewrite

This commit is contained in:
Matthew Bucci
2023-11-26 01:42:21 -08:00
parent 91f1612d10
commit cbd3d83918
2 changed files with 2 additions and 18 deletions
+2 -2
View File
@@ -63,10 +63,10 @@ final class rewriteTest extends TestCase
lockout_user bigint ,
lockout_username varchar(60),
lockout_active smallint NOT NULL DEFAULT 1,
lockout_context TEXT
lockout_context TEXT,
PRIMARY KEY (lockout_id)
);
CREATE SEQUENCE wp_itsec_lockouts_seq;
CREATE PRIMARY INDEX wp_itsec_lockouts_lockout_id ON wp_itsec_lockouts (lockout_id);
SQL;
$postgresql = pg4wp_rewrite($sql);