create a base class for all migration

+ save folder to playlist, sorting by last_mod
This commit is contained in:
mungai-njoroge
2023-07-31 16:44:37 +03:00
parent 782cfc8da8
commit 9c9a187083
5 changed files with 48 additions and 20 deletions
+16
View File
@@ -0,0 +1,16 @@
class Migration:
"""
Base migration class.
"""
name: str
"""
Name of the migration.
"""
@staticmethod
def migrate():
"""
Code to run when migrating
"""
pass