Last active
March 27, 2017 10:52
-
-
Save samueljmurray/b7ad723904e4aae4fca116c7ba13255d to your computer and use it in GitHub Desktop.
UserAuth schema
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
schema "user_auths" do | |
field :method, :string | |
field :remote_id, :string | |
field :auth0_id, :string | |
belongs_to :user, User | |
has_many :devices, Device | |
timestamps | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment