fix test
This commit is contained in:
parent
834d1f1d61
commit
f46c0f8ca1
@ -116,7 +116,9 @@ export default class PostgresDriver extends AbstractDriver {
|
||||
if (resp.isunique === "1") options.unique = true;
|
||||
|
||||
const generated =
|
||||
resp.isidentity === "YES" || resp.is_identity === "YES" ? true : undefined;
|
||||
resp.isidentity === "YES" || resp.is_identity === "YES"
|
||||
? true
|
||||
: undefined;
|
||||
const defaultValue = generated
|
||||
? undefined
|
||||
: PostgresDriver.ReturnDefaultValueFunction(
|
||||
|
@ -26,5 +26,5 @@ export class PostReader {
|
||||
post: Post;
|
||||
|
||||
@RelationId((postReader: PostReader) => postReader.post)
|
||||
postId: number[];
|
||||
postId: number;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user