// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== using System; using System.Threading.Tasks; using Squidex.Domain.Apps.Entities.Schemas.State; using Squidex.Infrastructure.Migrations; using Squidex.Infrastructure.States; namespace Migrate_01.Migrations { public sealed class ClearSchemas : IMigration { private readonly IStore store; public ClearSchemas(IStore store) { this.store = store; } public Task UpdateAsync() { return store.ClearSnapshotsAsync(); } } }