From a106d01a310830add33a1741829c08e3d20ce656 Mon Sep 17 00:00:00 2001 From: James Machouk Date: Wed, 10 Aug 2022 11:45:56 +0100 Subject: [PATCH 1/2] makin migration classes anonymous --- export-laravel-5-migrations.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/export-laravel-5-migrations.py b/export-laravel-5-migrations.py index 95afb6a..eef758f 100644 --- a/export-laravel-5-migrations.py +++ b/export-laravel-5-migrations.py @@ -96,13 +96,11 @@ migration_tables = [] migrationTemplate = ''' Date: Wed, 10 Aug 2022 12:58:52 +0100 Subject: [PATCH 2/2] making migration classes anonymous --- export-laravel-5-migrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-laravel-5-migrations.py b/export-laravel-5-migrations.py index eef758f..9f633f7 100644 --- a/export-laravel-5-migrations.py +++ b/export-laravel-5-migrations.py @@ -146,7 +146,7 @@ migrationEndingTemplate = ''' Schema::dropIfExists($this->tableName); }} -}} +}}; ''' ModuleInfo = DefineModule(