Created
March 9, 2015 18:03
-
-
Save developerworks/c9aeb8e15c135b132693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule UserSystem.User do | |
use Ecto.Model | |
schema "user" do | |
field :username, :string | |
field :first_name, :string | |
field :last_name, :string | |
field :email, :string | |
timestamps | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment