@@ -34,6+39,8 @@ class Version20160410190541 extends AbstractMigration implements ContainerAwareI
public function down(Schema $schema)
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'sqlite', 'This down migration can\'t be executed on SQLite databases, because SQLite don\'t support DROP COLUMN.');
public function down(Schema $schema)
{
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'sqlite', 'This down migration can\'t be executed on SQLite databases, because SQLite don\'t support DROP COLUMN.');
- $this->addSql('ALTER TABLE `wallabag_entry` DROP `uuid`');
+
+ $this->addSql('ALTER TABLE `'.$this->getTable('entry').'` DROP `uuid`');
+ $this->addSql("DELETE FROM `".$this->getTable('craue_config_setting')."` WHERE `name` = 'share_public'");