Skip to content

Commit

Permalink
missing field in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
albertored committed Jun 5, 2020
1 parent 16cd9e8 commit 0b9d92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/repo/migrations/2_create_posts.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ defmodule ExSieve.Repo.Migrations.CreatePosts do
add :title, :string
add :body, :string
add :published, :boolean
add :published_at, :naive_datetime
add :user_id, references(:users)

timestamps()
end

end
end

0 comments on commit 0b9d92b

Please sign in to comment.