Migrator Table Definition Functions any tabledefinition
adds integer reference columns to table definition and creates foreign key constraints
Name | Type | Required | Default | Description |
---|---|---|---|---|
referenceNames | string | Yes | ||
default | string | No | ||
null | boolean | No | false | |
polymorphic | boolean | No | false | |
foreignKey | boolean | No | true | |
onUpdate | string | No | ||
onDelete | string | No |