Created
April 5, 2019 17:26
-
-
Save mununki/486eb4fb623f27d0e0de94a076e2b9d1 to your computer and use it in GitHub Desktop.
prisma introspect - v1.3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is generated by v1.3.0 | |
type AccountRatereader @pgTable(name: "account_ratereader") { | |
id: Int! @unique | |
readerId: AccountMyuser @pgColumn(name: "reader_id") | |
relationshipDate: DateTime! @pgColumn(name: "relationship_date") | |
showerId: AccountMyuser @pgColumn(name: "shower_id") | |
} | |
// This is generated by v1.2.x and modified manually to deploy | |
// eg. generated `@relation(name: "account_ratereaders_readers")` -> modify `@relation(name: "AccountRatereaderReaders") | |
type Account_ratereader @pgTable(name: "account_ratereader") { | |
id: Int! @id @unique | |
reader: Account_myuser | |
@pgRelation(column: "reader_id") | |
@relation(name: "AccountRatereadersReaders") | |
relationship_date: DateTime! | |
shower: Account_myuser | |
@pgRelation(column: "shower_id") | |
@relation(name: "AccountRatereadersShowers") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment