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:
parent
e68efe6a98
commit
8e9d3a5c10
@ -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
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user