Skip to content

Commit 9fbf0ed

Browse files
committed
Remove manual migrate command
Migration now happens automatically when the database schema is updated (in Library._make_table()), so the manual 'beet migrate' command is no longer needed. Addresses PR review comment.
1 parent 5e3e3cb commit 9fbf0ed

File tree

2 files changed

+3
-103
lines changed

2 files changed

+3
-103
lines changed

beets/ui/commands/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from .help import HelpCommand
2525
from .import_ import import_cmd
2626
from .list import list_cmd
27-
from .migrate import migrate_cmd
2827
from .modify import modify_cmd
2928
from .move import move_cmd
3029
from .remove import remove_cmd
@@ -53,13 +52,12 @@ def __getattr__(name: str):
5352
HelpCommand(),
5453
import_cmd,
5554
list_cmd,
56-
migrate_cmd,
57-
modify_cmd,
58-
move_cmd,
55+
update_cmd,
5956
remove_cmd,
6057
stats_cmd,
61-
update_cmd,
6258
version_cmd,
59+
modify_cmd,
60+
move_cmd,
6361
write_cmd,
6462
config_cmd,
6563
completion_cmd,

beets/ui/commands/migrate.py

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)