use correct table name in models

This commit is contained in:
thrillfall 2021-07-06 21:44:55 +02:00
parent 98383ecd12
commit 6a39f2d814
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ use OCP\IDBConnection;
class EpisodeActionMapper extends \OCP\AppFramework\Db\QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'gpoddersync_episode_action', EpisodeActionEntity::class);
parent::__construct($db, 'gpodder_episode_action', EpisodeActionEntity::class);
}
public function findAll(\DateTime $sinceTimestamp, string $userId): array {

View File

@ -10,7 +10,7 @@ use OCP\IDBConnection;
class SubscriptionChangeMapper extends \OCP\AppFramework\Db\QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'gpoddersync_subscriptions', SubscriptionChangeEntity::class);
parent::__construct($db, 'gpodder_subscriptions', SubscriptionChangeEntity::class);
}
public function findAll(string $userId): array {