comfycamp/priv/repo/migrations/20240725083222_create_notes.exs

12 lines
229 B
Elixir

defmodule Comfycamp.Repo.Migrations.CreateNotes do
use Ecto.Migration
def change do
create table(:notes) do
add :title, :string
add :markdown, :string
timestamps(type: :utc_datetime)
end
end
end