From e7b695ce52573ddce053cc050507f9f91293c66e Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Tue, 24 Sep 2019 17:43:11 -0400 Subject: [PATCH] Rename migration stubs so they show next to each other --- ...s_table.php => 2019_09_15_000010_create_tenants_table.php} | 0 ...s_table.php => 2019_09_15_000020_create_domains_table.php} | 0 tests/CommandsTest.php | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename assets/migrations/{2019_08_08_000000_create_tenants_table.php => 2019_09_15_000010_create_tenants_table.php} (100%) rename assets/migrations/{2019_09_15_000000_create_domains_table.php => 2019_09_15_000020_create_domains_table.php} (100%) diff --git a/assets/migrations/2019_08_08_000000_create_tenants_table.php b/assets/migrations/2019_09_15_000010_create_tenants_table.php similarity index 100% rename from assets/migrations/2019_08_08_000000_create_tenants_table.php rename to assets/migrations/2019_09_15_000010_create_tenants_table.php diff --git a/assets/migrations/2019_09_15_000000_create_domains_table.php b/assets/migrations/2019_09_15_000020_create_domains_table.php similarity index 100% rename from assets/migrations/2019_09_15_000000_create_domains_table.php rename to assets/migrations/2019_09_15_000020_create_domains_table.php diff --git a/tests/CommandsTest.php b/tests/CommandsTest.php index ae35888d..d7ffb3cd 100644 --- a/tests/CommandsTest.php +++ b/tests/CommandsTest.php @@ -133,8 +133,8 @@ class CommandsTest extends TestCase ->expectsQuestion('Do you want to publish the default database migrations?', 'yes'); $this->assertFileExists(base_path('routes/tenant.php')); $this->assertFileExists(base_path('config/tenancy.php')); - $this->assertFileExists(database_path('migrations/2019_08_08_000000_create_tenants_table.php')); - $this->assertFileExists(database_path('migrations/2019_09_15_000000_create_domains_table.php')); + $this->assertFileExists(database_path('migrations/2019_09_15_000010_create_tenants_table.php')); + $this->assertFileExists(database_path('migrations/2019_09_15_000020_create_domains_table.php')); $this->assertDirectoryExists(database_path('migrations/tenant')); $this->assertSame(file_get_contents(__DIR__ . '/Etc/modifiedHttpKernel.stub'), file_get_contents(app_path('Http/Kernel.php'))); }