AddDebounceConstraint
struct AddDebounceConstraint<T> : AsyncMigration where T : Debouncable
The migration to add the necessary columns and indexes when you make a model Debouncable.
-
Declaration
Swift
var name: String { get } -
prepare(on:Asynchronous) Declaration
Swift
func prepare(on database: Database) async throws -
revert(on:Asynchronous) Declaration
Swift
func revert(on database: Database) async throws
View on GitHub