exmr/priv/repo/migrations/20241114204743_create_exams.exs

14 lines
248 B
Elixir
Raw Permalink Normal View History

2024-11-14 23:33:29 +02:00
defmodule Exmr.Repo.Migrations.CreateExams do
use Ecto.Migration
def change do
create table(:exams) do
add :subject, :text
add :description, :text
add :date, :date
timestamps(type: :utc_datetime)
end
end
end