Skip to content

Commit

Permalink
CB-5738 fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
yagudin10 committed Oct 28, 2024
1 parent 4cb4d6f commit 3c69ad0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
scalar Object
# Date/Time
scalar DateTime
scalar Date

input PageInput {
limit: Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RuntimeWiring buildRuntimeWiring() {
runtimeWiring = RuntimeWiring.newRuntimeWiring();
runtimeWiring
.scalar(ExtendedScalars.DateTime)
.scalar(ExtendedScalars.Date)
.scalar(ExtendedScalars.Object);
queryType = TypeRuntimeWiring.newTypeWiring("Query");
mutationType = TypeRuntimeWiring.newTypeWiring("Mutation");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,6 @@ CREATE TABLE {table_prefix}CB_ACCESS_TOKEN
EXPIRATION_TIME TIMESTAMP NULL,

PRIMARY KEY (USER_ID, TOKEN_ID),
UNIQUE (USER_ID, TOKEN_NAME),
FOREIGN KEY (USER_ID) REFERENCES {table_prefix}CB_USER(USER_ID) ON DELETE CASCADE
);
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ CREATE TABLE {table_prefix}CB_ACCESS_TOKEN
EXPIRATION_TIME TIMESTAMP NULL,

PRIMARY KEY (USER_ID, TOKEN_ID),
UNIQUE (USER_ID, TOKEN_NAME),
FOREIGN KEY (USER_ID) REFERENCES {table_prefix}CB_USER(USER_ID) ON DELETE CASCADE
);
);

0 comments on commit 3c69ad0

Please sign in to comment.