From 0fd07449501ee619fb3691bab6985c4e647165c7 Mon Sep 17 00:00:00 2001 From: Joe Mancuso Date: Wed, 20 Nov 2024 19:47:48 -0500 Subject: [PATCH] Remove commented test line and clean up migration command help text formatting --- src/masoniteorm/collection/Collection.py | 1 - src/masoniteorm/commands/MakeMigrationCommand.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/masoniteorm/collection/Collection.py b/src/masoniteorm/collection/Collection.py index a24e98af7..e238db8a5 100644 --- a/src/masoniteorm/collection/Collection.py +++ b/src/masoniteorm/collection/Collection.py @@ -542,7 +542,6 @@ def __getitem__(self, item): return None def __setitem__(self, key, value): - # test self._items[key] = value def __delitem__(self, key): diff --git a/src/masoniteorm/commands/MakeMigrationCommand.py b/src/masoniteorm/commands/MakeMigrationCommand.py index bcebaf2dd..f62aea426 100644 --- a/src/masoniteorm/commands/MakeMigrationCommand.py +++ b/src/masoniteorm/commands/MakeMigrationCommand.py @@ -12,7 +12,7 @@ class MakeMigrationCommand(Command): Creates a new migration file. migration - {name : The name of the migration} + {name : The name of the migration} {--c|create=None : The table to create} {--t|table=None : The table to alter} {--d|directory=databases/migrations : The location of the migration directory}