package database // Migrate runs database migrations for the main application database. // Only configuration-tier models are stored in the main database. // Event-tier models (Event, Delivery, DeliveryResult) live in // per-webhook dedicated databases managed by WebhookDBManager. func (d *Database) Migrate() error { return d.db.AutoMigrate( &Setting{}, &User{}, &APIKey{}, &Webhook{}, &Entrypoint{}, &Target{}, ) }