mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
[Enhancement] Add Media Center support for videos uploaded on the same day (#221)
* Added upload date index field to media_items * Added incrementing index for upload dates * Added media item upload date index to download option builder * Added new season_episode_index_from_date to UI; updated parser * Improve support for channels * Hopefully fixed flakey test
This commit is contained in:
parent
112c6a4f14
commit
04b14719ee
10 changed files with 261 additions and 16 deletions
|
|
@ -0,0 +1,11 @@
|
|||
defmodule Pinchflat.Repo.Migrations.AddUploadDateIndexToMediaItems do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:media_items) do
|
||||
add :upload_date_index, :integer, null: false, default: 0
|
||||
end
|
||||
|
||||
create index("media_items", [:upload_date])
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue