Skip to content

Docs need a note on foreign key references to user #14

@MichaelXavier

Description

@MichaelXavier

This is from a discussion between myself, @denibertovic, and @bitemyapp. Because of the way QQ scopes things, schema.txt in this repo is not in the same scope when the user includes the decls into their own app. The result is that persistent can't figure out that SnapAuthUserId is a primary key and thus if you reference it in another table, it will not create a foreign key. The solution is to manually tell persistent's TH that the column is a reference.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions