Class DeleteLogViewerQueryFile
Deletes the old file that saved log queries
Namespace: Umbraco.Cms.Infrastructure.Migrations.PostMigrations
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DeleteLogViewerQueryFile : MigrationBase, IDiscoverable
Constructors
View SourceDeleteLogViewerQueryFile(IMigrationContext, IHostingEnvironment)
Initializes a new instance of the DeleteLogViewerQueryFile class.
Declaration
public DeleteLogViewerQueryFile(IMigrationContext context, IHostingEnvironment hostingEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IMigrationContext | context | |
IHostingEnvironment | hostingEnvironment |
Methods
View SourceMigrate()
Executes the migration.
Declaration
protected override void Migrate()