From 6a39f2d8148a2b55e9cd96f82060db697386b455 Mon Sep 17 00:00:00 2001 From: thrillfall Date: Tue, 6 Jul 2021 21:44:55 +0200 Subject: [PATCH] use correct table name in models --- lib/Db/EpisodeAction/EpisodeActionMapper.php | 2 +- lib/Db/SubscriptionChange/SubscriptionChangeMapper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Db/EpisodeAction/EpisodeActionMapper.php b/lib/Db/EpisodeAction/EpisodeActionMapper.php index 783ada6..2d502e4 100644 --- a/lib/Db/EpisodeAction/EpisodeActionMapper.php +++ b/lib/Db/EpisodeAction/EpisodeActionMapper.php @@ -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 { diff --git a/lib/Db/SubscriptionChange/SubscriptionChangeMapper.php b/lib/Db/SubscriptionChange/SubscriptionChangeMapper.php index bde232b..7094352 100644 --- a/lib/Db/SubscriptionChange/SubscriptionChangeMapper.php +++ b/lib/Db/SubscriptionChange/SubscriptionChangeMapper.php @@ -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 {