Last active
December 11, 2017 16:41
-
-
Save dvanderbeek/b1c55d7d76f9b38f7746a20793f1c0ef 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
$ mix phx.gen.context Chat Customer customers name:string | |
$ mix phx.gen.context Chat Agent agents image_url:string slack_user_id:string slack_user_name:string | |
$ mix phx.gen.context Chat Conversation conversations agent_id:references:agents customer_id:references:customers slack_channel_index:integer | |
$ mix phx.gen.context Chat Message messages agent_id:references:agents conversation_id:references:conversations text:string | |
$ mix ecto.migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment