Created
September 19, 2018 23:17
-
-
Save KamilLelonek/9a5471af7f1411504f027f32554b73ee to your computer and use it in GitHub Desktop.
This file contains hidden or 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 PostgresPubSub.Account do | |
use Ecto.Schema | |
@primary_key {:id, :binary_id, autogenerate: true} | |
schema "accounts" do | |
field(:username, :string) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment