pinchflat/priv/repo/migrations/20240122030944_create_media_profiles.exs
Kieran 4252c27f87
Initial implementation of media profiles (#7)
* [WIP] Added basic video download method

* [WIP] Very-WIP first steps at parsing options and downloading

* Made my options safe by default and removed special safe versions

* Ran html generator for mediaprofile model - leaving as-is for now

* Addressed a bunch of TODO comments
2024-01-22 20:51:28 -08:00

14 lines
334 B
Elixir

defmodule Pinchflat.Repo.Migrations.CreateMediaProfiles do
use Ecto.Migration
def change do
create table(:media_profiles) do
add :name, :string, null: false
add :output_path_template, :string, null: false
timestamps(type: :utc_datetime)
end
create unique_index(:media_profiles, [:name])
end
end