feat: add persistence for task
This commit is contained in:
parent
2850c18005
commit
264484c256
3 changed files with 18 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ defmodule Putzplan.Tasks.Task do
|
|||
end
|
||||
end
|
||||
|
||||
sqlite do
|
||||
table "tasks"
|
||||
repo Putzplan.Repo
|
||||
end
|
||||
|
||||
# Attributes are the simple pieces of data that exist on your resource
|
||||
attributes do
|
||||
# Add an autogenerated UUID primary key called `:id`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue