defmodule Homeman.Repo.Migrations.CreateTasks do use Ecto.Migration def change do create table(:tasks, primary_key: false) do add :id, :binary_id, primary_key: true add :description, :string add :emoji, :string, null: true add :completed_at, :naive_datetime, null: true add :phase, :string timestamps(type: :utc_datetime) end end end