Skip to content

Commit

Permalink
Avoid taking existing column name id and use hyphen instead of unde…
Browse files Browse the repository at this point in the history
…rscore
  • Loading branch information
devth committed May 30, 2019
1 parent 1afd3c5 commit be099cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yetibot/core/db/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
(def schema {:schema/table "user"
:schema/specs
(into [[:chat-source-adapter :text]
[:id :text "NOT NULL"]
[:user-id :text "NOT NULL"]
[:username :text "NOT NULL"]
[:display_name :text "NOT NULL"]
[:display-name :text "NOT NULL"]
;; should we attempt to keep track of which channels the
;; user is in? 🤔
;; if we wanted to store it as a column here it's have to be
Expand Down

0 comments on commit be099cf

Please sign in to comment.