+ $clientsTable = $schema->getTable($this->getTable('oauth2_clients'));
+
+ $this->skipIf(!$clientsTable->hasColumn('user_id'), 'It seems that you already played this migration.');
+
+ $clientsTable->dropColumn('user_id', 'integer');
+
+ if ('sqlite' !== $this->connection->getDatabasePlatform()->getName()) {
+ $clientsTable->removeForeignKey($this->constraintName);
+ }