+ $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);
+ }
+ }
+
+ private function getTable($tableName)
+ {
+ return $this->container->getParameter('database_table_prefix') . $tableName;