StoreSchemaOptions
Table of contents
interface StoreSchemaOptions<R extends UnknownRecord, P> {}
Properties
migrations?: MigrationSequence[]
onValidationFailure?: (data: {
error: unknown
phase: 'createRecord' | 'initialize' | 'tests' | 'updateRecord'
record: R
recordBefore: null | R
store: Store<R>
}) => R