1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
mealie/mealie/schema/group/group_migration.py
Michael Genson 3118b0e423
feat: Migrate from Copy Me That (#2212)
* implemented copymethat migration

* added migration tree

* added translation support

* genericized example jpgs

* added test data

* fixed test archive

* switched recipe create to service
added test for timeline event creation

* linting

* lxml go brrr
2023-03-12 12:37:24 -08:00

15 lines
325 B
Python

import enum
from mealie.schema._mealie import MealieModel
class SupportedMigrations(str, enum.Enum):
nextcloud = "nextcloud"
chowdown = "chowdown"
copymethat = "copymethat"
paprika = "paprika"
mealie_alpha = "mealie_alpha"
class DataMigrationCreate(MealieModel):
source_type: SupportedMigrations