fp/services/bright/priv/repo/migrations/20241229044635_create_vods.exs

19 lines
416 B
Elixir

defmodule Bright.Repo.Migrations.CreateVods do
use Ecto.Migration
def change do
create table(:vods) do
add :s3_cdn_url, :string
add :s3_upload_id, :string
add :s3_key, :string
add :s3_bucket, :string
add :mux_asset_id, :string
add :mux_playback_id, :string
add :ipfs_cid, :string
add :torrent, :string
timestamps(type: :utc_datetime)
end
end
end