Feature/add timezone backend (#230)

* Added tz column

* Updated hasura permissions on new table
This commit is contained in:
Alec LaLonde
2020-12-19 17:54:32 -07:00
committed by GitHub
parent b9e5403d69
commit 63a357c498
5 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@@ -31,6 +31,7 @@ out/
.env.test.local
.env.production.local
lerna-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@@ -148,6 +148,7 @@
- scIdentityId
- timezone
- totalXp
- tz
- username
filter: {}
- role: public
@@ -161,6 +162,7 @@
- role
- timezone
- totalXp
- tz
- username
filter: {}
update_permissions:
@@ -172,6 +174,7 @@
- playerTypeId
- role
- timezone
- tz
- username
filter:
id:

View File

@@ -0,0 +1 @@
ALTER TABLE "public"."Player" DROP COLUMN "tz";

View File

@@ -0,0 +1 @@
ALTER TABLE "public"."Player" ADD COLUMN "tz" text NULL;

View File

@@ -1998,6 +1998,7 @@ type Player {
scIdentityId: String
timezone: Int
totalXp: numeric
tz: String
updated_at: timestamptz
username: String!
}
@@ -2092,6 +2093,7 @@ input Player_bool_exp {
scIdentityId: String_comparison_exp
timezone: Int_comparison_exp
totalXp: numeric_comparison_exp
tz: String_comparison_exp
updated_at: timestamptz_comparison_exp
username: String_comparison_exp
}
@@ -2142,6 +2144,7 @@ input Player_insert_input {
scIdentityId: String
timezone: Int
totalXp: numeric
tz: String
updated_at: timestamptz
username: String
}
@@ -2157,6 +2160,7 @@ type Player_max_fields {
scIdentityId: String
timezone: Int
totalXp: numeric
tz: String
updated_at: timestamptz
username: String
}
@@ -2174,6 +2178,7 @@ input Player_max_order_by {
scIdentityId: order_by
timezone: order_by
totalXp: order_by
tz: order_by
updated_at: order_by
username: order_by
}
@@ -2189,6 +2194,7 @@ type Player_min_fields {
scIdentityId: String
timezone: Int
totalXp: numeric
tz: String
updated_at: timestamptz
username: String
}
@@ -2206,6 +2212,7 @@ input Player_min_order_by {
scIdentityId: order_by
timezone: order_by
totalXp: order_by
tz: order_by
updated_at: order_by
username: order_by
}
@@ -2257,6 +2264,7 @@ input Player_order_by {
scIdentityId: order_by
timezone: order_by
totalXp: order_by
tz: order_by
updated_at: order_by
username: order_by
}
@@ -2479,6 +2487,9 @@ enum Player_select_column {
"""column name"""
totalXp
"""column name"""
tz
"""column name"""
updated_at
@@ -2501,6 +2512,7 @@ input Player_set_input {
scIdentityId: String
timezone: Int
totalXp: numeric
tz: String
updated_at: timestamptz
username: String
}
@@ -2790,6 +2802,9 @@ enum Player_update_column {
"""column name"""
totalXp
"""column name"""
tz
"""column name"""
updated_at