defmodule OhMyExOhIrcd.Repo.Migrations.CreateImageRequestLogs do
use Ecto.Migration
def change do
create table(:image_request_logs) do
add :channel_id, references(:channels, on_delete: :delete_all), null: false
add :who, :string
add :status, :string, null: false
add :detail, :string
timestamps(type: :utc_datetime, updated_at: false)
end
create index(:image_request_logs, [:channel_id, :inserted_at])
end
end
neiam
/oh-my-ex-oh-ircd
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
461 B · text
History
4b6fe3b