NEW: Initial task mgmt (#4)

This commit is contained in:
Matthew Ryan Dillon 2020-06-14 15:26:14 -07:00 committed by GitHub
parent 9990771c18
commit 61de82e24e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 261 additions and 104 deletions

View file

@ -0,0 +1,15 @@
defmodule Planner.Repo.Migrations.InitialTasks do
use Ecto.Migration
def change do
create table(:tasks, primary_key: false) do
add(:id, :binary_id, primary_key: true)
add(:value, :text, null: false)
add(:filed_at, :naive_datetime)
add(:finished_at, :naive_datetime)
add(:due_at, :naive_datetime)
timestamps()
end
end
end