diff --git a/lib/Migration/Version0001Date20210520063113.php b/lib/Migration/Version0001Date20210520063113.php index 1904c08..93ca14d 100644 --- a/lib/Migration/Version0001Date20210520063113.php +++ b/lib/Migration/Version0001Date20210520063113.php @@ -14,8 +14,8 @@ class Version0001Date20210520063113 extends \OCP\Migration\SimpleMigrationStep { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); - if (!$schema->hasTable('gpoddersync_episode_action')) { - $table = $schema->createTable('gpoddersync_episode_action'); + if (!$schema->hasTable('gpodder_episode_action')) { + $table = $schema->createTable('gpodder_episode_action'); $table->addColumn('id', 'integer', [ 'autoincrement' => true, 'notnull' => true, @@ -52,7 +52,7 @@ class Version0001Date20210520063113 extends \OCP\Migration\SimpleMigrationStep { ]); $table->setPrimaryKey(['id']); - $table->addUniqueIndex(['episode', 'user_id'], 'gpoddersync_episode_user_id'); + $table->addUniqueIndex(['episode', 'user_id'], 'gpodder_episode_user_id'); } return $schema; } diff --git a/lib/Migration/Version0002Date20210524131313.php b/lib/Migration/Version0002Date20210524131313.php index e92b008..7fc6665 100644 --- a/lib/Migration/Version0002Date20210524131313.php +++ b/lib/Migration/Version0002Date20210524131313.php @@ -13,8 +13,8 @@ class Version0002Date20210524131313 extends \OCP\Migration\SimpleMigrationStep { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); - if (!$schema->hasTable('gpoddersync_subscriptions')) { - $table = $schema->createTable('gpoddersync_subscriptions'); + if (!$schema->hasTable('gpodder_subscriptions')) { + $table = $schema->createTable('gpodder_subscriptions'); $table->addColumn('id', 'integer', [ 'autoincrement' => true, 'notnull' => true,