OptionaltableOptionalschemaSchema to use for this model (PostgreSQL) or database (MySQL)
OptionalschemaSchema delimiter for table name generation (default: '.')
OptionaltimestampsOptionalcreatedOptionalupdatedOptionaldeletedOptionalparanoidOptionalpreserveOptionalunderscoredOptionalfreezeOptionalhooksOptionalscopesOptionaldefaultOptionalvalidateOptionalprimaryPrimary key field(s) - supports both single field (string) and composite keys (string[])
OptionalindexesOptionalconstraintsOptionalclassOptionalinstanceOptionalhiddenOptionalvirtualOptionalengineMySQL/MariaDB storage engine (e.g., 'InnoDB', 'MyISAM')
OptionalcharsetCharacter set for the table (e.g., 'utf8mb4')
OptionalcollateCollation for the table (e.g., 'utf8mb4_unicode_ci')
OptionalcommentComment for the table
OptionalinitialInitial auto-increment value for the table
OptionalrowRow format for MySQL/MariaDB (e.g., 'DYNAMIC', 'FIXED', 'COMPRESSED')
OptionaluniqueUnique keys to create with the table - supports both simple and composite keys
OptionaluniqueLegacy unique keys format (deprecated - use UniqueKeyOptions instead)
OptionaltablespacePostgreSQL tablespace
OptionalinheritPostgreSQL: inherit from parent table
OptionalpartitionPostgreSQL: partition by clause
OptionalvalidateValidate on create (default: true)
OptionalvalidateValidate on update (default: true)
OptionalskipSkip validations (default: false)
Per-model configuration: the table it maps to, whether timestamps and soft deletes are managed, and how attribute names are converted to column names.