Skip to content

Instantly share code, notes, and snippets.

@prio101
Created August 28, 2018 19:11
Show Gist options
  • Save prio101/a7a6e7970289d3bfbc58faa3d0c54b0a to your computer and use it in GitHub Desktop.
Save prio101/a7a6e7970289d3bfbc58faa3d0c54b0a to your computer and use it in GitHub Desktop.
defmodule TodoList.Repo.Migrations.CreateTasks do
use Ecto.Migration
def change do
create table("tasks") do
add :task_name, :string
add :task_description, :string
add :task_status, :string
timestamps()
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment