ForeignKeyAttribute

Specifies that the member is a foriegn key, ensureSchema will create a FK constraint as well as an index for it. Finds the referenced table's PK by itself.

package
struct ForeignKeyAttribute {
string relation;
string pkey;
}

Meta