1
0
mirror of https://github.com/algora-io/tv.git synced 2025-04-07 06:49:52 +02:00

add vertical_thumbnail_url to video

This commit is contained in:
zafer 2024-03-07 02:02:32 +03:00
parent e68efe6a98
commit 8e9d3a5c10
2 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,7 @@ defmodule Algora.Library.Video do
field :type, Ecto.Enum, values: [vod: 1, livestream: 2]
field :is_live, :boolean, default: false
field :thumbnail_url, :string
field :vertical_thumbnail_url, :string
field :url, :string
field :url_root, :string
field :uuid, :string

View File

@ -0,0 +1,9 @@
defmodule Algora.Repo.Migrations.AddVerticalThumbnailUrlToVideo do
use Ecto.Migration
def change do
alter table("videos") do
add :vertical_thumbnail_url, :string
end
end
end