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

13 lines
229 B
Elixir
Raw Normal View History

2024-07-27 23:22:09 +05:00
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