13 lines
248 B
Elixir
13 lines
248 B
Elixir
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
|