feat: add persistence for task

This commit is contained in:
Moritz Böhme 2025-04-04 21:20:14 +02:00
parent 2850c18005
commit 264484c256
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,11 @@
defmodule Putzplan.Repo.Migrations.AddTaskRelation do
use Ecto.Migration
def change do
create table(:tasks, primary_key: false) do
add :id, :uuid, null: false, primary_key: true
add :description, :string, null: false
add :repetition_days, :integer, null: false
end
end
end