From 74e5d2937ae8c35fcaa15650438959178a0131c0 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 11 Jul 2022 14:04:38 -0700 Subject: [PATCH] Drop broken postgres/patch-oathauth_users-drop-id-nextval.sql This patch has a syntax error. Once fixed, after it's applied to the original postgres schema (P31006) it makes no difference and can safely be dropped. Bug: T312744 Change-Id: Ief18c3a428979d6c7f3592b5763630ac19b85d83 (cherry picked from commit 751cce32592d40197506c5e8aab684c828fc7ace) --- sql/postgres/patch-oathauth_users-drop-id-nextval.sql | 1 - src/Hook/LoadExtensionSchemaUpdates/UpdateTables.php | 5 ----- 2 files changed, 6 deletions(-) delete mode 100644 sql/postgres/patch-oathauth_users-drop-id-nextval.sql diff --git a/sql/postgres/patch-oathauth_users-drop-id-nextval.sql b/sql/postgres/patch-oathauth_users-drop-id-nextval.sql deleted file mode 100644 index 28b051f7..00000000 --- a/sql/postgres/patch-oathauth_users-drop-id-nextval.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE oathauth_users CHANGE id id INT NOT NULL; diff --git a/src/Hook/LoadExtensionSchemaUpdates/UpdateTables.php b/src/Hook/LoadExtensionSchemaUpdates/UpdateTables.php index f122ee69..8f422355 100644 --- a/src/Hook/LoadExtensionSchemaUpdates/UpdateTables.php +++ b/src/Hook/LoadExtensionSchemaUpdates/UpdateTables.php @@ -82,11 +82,6 @@ class UpdateTables { 'oathauth_users', "$typePath/patch-oathauth_users-drop-oathauth_users_id_seq.sql" ); - $this->updater->modifyExtensionField( - 'oathauth_users', - 'id', - "$typePath/patch-oathauth_users-drop-id-nextval.sql" - ); break; }