mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-12 02:25:09 +00:00

- harmonize field types and use explicit names - store html value alongside markdown descriptions for better performance - add duration and bandwidth to podcast analytics - add new analytics table for podcast hits by hour - replace visible MAXMIND_LICENCE_KEY with variable
26 lines
580 B
PHP
26 lines
580 B
PHP
<?php
|
|
|
|
/**
|
|
* Class AnalyticsPodcastByHour
|
|
* Model for analytics_podcasts_by_hour table in database
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use CodeIgniter\Model;
|
|
|
|
class AnalyticsPodcastByHourModel extends Model
|
|
{
|
|
protected $table = 'analytics_podcasts_by_hour';
|
|
|
|
protected $allowedFields = [];
|
|
|
|
protected $returnType = \App\Entities\AnalyticsPodcastsByHour::class;
|
|
protected $useSoftDeletes = false;
|
|
|
|
protected $useTimestamps = false;
|
|
}
|