Skip to content

Commit

Permalink
Format CodeCorps.UserInvite
Browse files Browse the repository at this point in the history
  • Loading branch information
begedin committed Jan 3, 2018
1 parent 776a9dd commit bb1f4c2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/code_corps/model/user_invite.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ defmodule CodeCorps.UserInvite do
@type t :: %__MODULE__{}

schema "user_invites" do
field :email, :string, null: false
field :role, :string
field :name, :string
field(:email, :string, null: false)
field(:role, :string)
field(:name, :string)

belongs_to :project, CodeCorps.Project
belongs_to :inviter, CodeCorps.User
belongs_to :invitee, CodeCorps.User
belongs_to(:project, CodeCorps.Project)
belongs_to(:inviter, CodeCorps.User)
belongs_to(:invitee, CodeCorps.User)

timestamps()
end
Expand Down

0 comments on commit bb1f4c2

Please sign in to comment.