Update backend to use enum tables + fix migration trigger (#141)

* Setup prettier-ignore and add more instructions on running backend

* Dont throw error when updating verified accounts

* Migrate account-type to use tables instead of native enum

* Migrate enneagram_type to use table instead of native enum

* Update schema and front end for new enum tables

* Fix type errors
This commit is contained in:
Hammad Jutt
2020-10-09 22:16:15 -06:00
committed by GitHub
parent 95834c9cb5
commit de71feadde
14 changed files with 996 additions and 260 deletions

View File

@@ -7,7 +7,7 @@ export const PlayerFragment = gql`
totalXp
rank
ethereum_address
Accounts(where: { type: { _in: ["TWITTER", "GITHUB"] } }) {
Accounts(where: { type: { _in: [TWITTER, GITHUB] } }) {
identifier
type
}