mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Brush properties - Added default values Brush properties - Removed option to always auto-expand groups Layer properties - Remember expanded/collapsed groups Storage - Added migration system Storage - Added migration that removes profiles made in the old layer properties format Layer timeline - Added back zoom functionality
20 lines
544 B
C#
20 lines
544 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Artemis.Storage.Entities.Profile;
|
|
using Artemis.Storage.Migrations.Interfaces;
|
|
using LiteDB;
|
|
|
|
namespace Artemis.Storage.Migrations
|
|
{
|
|
public class AttributeBasedPropertiesMigration : IStorageMigration
|
|
{
|
|
public int UserVersion => 1;
|
|
public void Apply(LiteRepository repository)
|
|
{
|
|
if (repository.Database.CollectionExists("ProfileEntity"))
|
|
repository.Database.DropCollection("ProfileEntity");
|
|
}
|
|
}
|
|
}
|