moving dataconnect to dev
This commit is contained in:
17
backend/dataconnect/schema/account.gql
Normal file
17
backend/dataconnect/schema/account.gql
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
enum AccountType {
|
||||
CHECKING
|
||||
SAVINGS
|
||||
}
|
||||
|
||||
type Account @table(name: "accounts") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
bank: String!
|
||||
type: AccountType!
|
||||
last4: String!
|
||||
isPrimary: Boolean
|
||||
ownerId: UUID! #staff/business
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user