mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 13:03:02 +00:00
create a base class for all migration
+ save folder to playlist, sorting by last_mod
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class Migration:
|
||||
"""
|
||||
Base migration class.
|
||||
"""
|
||||
|
||||
name: str
|
||||
"""
|
||||
Name of the migration.
|
||||
"""
|
||||
|
||||
@staticmethod
|
||||
def migrate():
|
||||
"""
|
||||
Code to run when migrating
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user