1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-23 07:24:03 +00:00

Commit graph

  • 4d2d96d894 Simplify handle method lukinovec 2022-10-14 14:22:42 +02:00
  • 08b3690fab Fix commands test lukinovec 2022-10-14 14:22:30 +02:00
  • 3ccf024bac Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-14 11:49:15 +00:00
  • 987ac9a347 Update MigrateFreshOverride lukinovec 2022-10-14 13:48:49 +02:00
  • 5fa50cdd49 Override migrate:fresh by extending FreshCommand in TenancyServiceProvider lukinovec 2022-10-14 13:48:26 +02:00
  • 6269dc95e4 Change migrate:fresh test to test if the tenant DBs are dropped by default lukinovec 2022-10-14 13:46:30 +02:00
  • 3728eea6de Drop tenant databases by default lukinovec 2022-10-14 13:46:08 +02:00
  • c2acb85d54 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-14 08:59:38 +00:00
  • 5cef50b674 Update migrate:fresh test lukinovec 2022-10-14 10:59:16 +02:00
  • 5e76510bfb Try to override migrate:fresh in TenancyServiceProvider lukinovec 2022-10-14 10:58:21 +02:00
  • b2fe66b7d9 Add MigrateFreshOverride lukinovec 2022-10-14 10:57:51 +02:00
  • 6be44ceddc Add config key for dropping tenant databases on migrate:fresh lukinovec 2022-10-14 10:55:08 +02:00
  • 93efa56f59 Update ResourceSyncingTest.php Abrar Ahmad 2022-10-13 17:31:18 +05:00
  • 99f853451b methods dockblocks and correct names Abrar Ahmad 2022-10-13 17:29:43 +05:00
  • 81f2e57fa5
    wip abrardev99-bot 2022-10-13 14:47:27 +05:00
  • dfcfa43c70
    wip abrardev99-bot 2022-10-13 14:28:54 +05:00
  • 873b68cbf7
    wip abrardev99-bot 2022-10-13 14:27:45 +05:00
  • 5f7e1435e9
    wip abrardev99-bot 2022-10-13 13:46:19 +05:00
  • eb1395429f
    wip abrardev99-bot 2022-10-13 09:30:25 +05:00
  • bceda97de2 revert CI changes to it's original state Abrar Ahmad 2022-10-13 09:28:27 +05:00
  • 7ff86a2bd8
    introduce code style issues abrardev99-bot 2022-10-13 09:20:07 +05:00
  • e1fa543723
    add comments above new tests Samuel Štancl 2022-10-12 19:16:03 +02:00
  • f45f64d011 Update ci.yml Abrar Ahmad 2022-10-12 17:50:09 +05:00
  • ad2c88b36c Update ci.yml Abrar Ahmad 2022-10-12 17:46:09 +05:00
  • a0dbcccc38 Update ci.yml Abrar Ahmad 2022-10-12 17:39:15 +05:00
  • c2696ca43a Merge branch 'master' into pr/968 Abrar Ahmad 2022-10-12 16:39:04 +05:00
  • 1ac35bd602 revert CI changes Abrar Ahmad 2022-10-12 16:37:56 +05:00
  • 51c1c2eddf Update ci.yml Abrar Ahmad 2022-10-12 16:11:03 +05:00
  • 3ac2567e82 Update ci.yml Abrar Ahmad 2022-10-12 15:56:08 +05:00
  • 88b8922875 Update ci.yml Abrar Ahmad 2022-10-12 15:50:34 +05:00
  • c940e68ff0 bump EndBug version Abrar Ahmad 2022-10-12 15:34:49 +05:00
  • 42dab2985a
    Add current() and currentOrFail() tenant methods (#970) lukinovec 2022-10-11 10:33:32 +02:00
  • 4b92eac6cd Change self return type to static lukinovec 2022-10-11 07:57:48 +02:00
  • 2201545c51
    Update currentOrFail declaration lukinovec 2022-10-11 07:55:55 +02:00
  • 0ba6602872 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-10 15:39:10 +00:00
  • 05e84401b4 Delete tenants on migrate:fresh lukinovec 2022-10-10 17:38:38 +02:00
  • 6d303d1b2e Test that migrate:fresh deletes tenant databases lukinovec 2022-10-10 17:37:58 +02:00
  • 7eb8356c74 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-10 13:13:06 +00:00
  • 54a4258fa4 Add and test Tenant::currentOrFail() lukinovec 2022-10-10 15:12:04 +02:00
  • 0198a30413 Add and test Tenant::current() lukinovec 2022-10-10 15:11:37 +02:00
  • 9418402c17 Revert "Update TenantDatabaseManagerTest.php" Abrar Ahmad 2022-10-10 17:17:58 +05:00
  • 69e4a1ef2a Merge branch 'master' into 515-complete Abrar Ahmad 2022-10-10 16:34:02 +05:00
  • 8bde0a7ecb Update DatabaseConfig.php Abrar Ahmad 2022-10-10 16:24:31 +05:00
  • b8e0a1c982 Update TenantDatabaseManagerTest.php Abrar Ahmad 2022-10-10 14:43:43 +05:00
  • a8f416dc1a clean j.stein 2022-10-09 23:33:08 -04:00
  • 76a3e269c8 final class -> class Samuel Štancl 2022-10-09 19:53:14 +02:00
  • 24f04c1328 update tests j.stein 2022-10-09 09:01:12 -04:00
  • 27eb4f738e Ensure commands returns success j.stein 2022-10-09 00:23:30 -04:00
  • 2f15dd5473 Using laravel components j.stein 2022-10-09 00:11:37 -04:00
  • d52254eb94 Add maintenance events j.stein 2022-10-08 18:17:30 -04:00
  • df70463331 Update MaintenanceMode.php j.stein 2022-10-07 11:19:58 -04:00
  • 61d3f16442 Update config.php j.stein 2022-10-07 11:11:00 -04:00
  • bb634b5326 Add tenancy maintenance mode drivers j.stein 2022-10-07 11:05:08 -04:00
  • f8ec22b5ca removing test because other two tests are using the same logic, so this test kinda already covered Abrar Ahmad 2022-10-07 12:39:55 +05:00
  • 47e2aca2db remove test because it's duplicate Abrar Ahmad 2022-10-07 12:30:50 +05:00
  • 7c4afc37d0 remove "ensuring connection exists" check Abrar Ahmad 2022-10-07 12:25:03 +05:00
  • b19a2decba Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-05 11:56:57 +00:00
  • 8c5f33df47 Return status codes in Migrate lukinovec 2022-10-05 13:56:28 +02:00
  • b76ed4ad08 Merge branch 'master' of https://github.com/archtechx/tenancy into add-skip-failing-options-to-migrate lukinovec 2022-10-05 13:55:07 +02:00
  • 6222a72a2f Merge branch 'master' of https://github.com/archtechx/tenancy into stein-j-readied-tenant lukinovec 2022-10-05 13:42:38 +02:00
  • af689f816a Make with-pending VALUE_NONE lukinovec 2022-10-05 13:35:23 +02:00
  • 8123728181 Add QueryException to the Migrat command try/catch lukinovec 2022-10-05 13:08:31 +02:00
  • 53ef136238
    add docs todo Samuel Štancl 2022-10-05 11:49:48 +02:00
  • 72f742e53d Test using --with-pending and the include_in_queries config value lukinovec 2022-10-05 10:23:40 +02:00
  • e3e85a0e88 Add optionNotPassedValue property lukinovec 2022-10-05 10:18:56 +02:00
  • 05ed7214b0
    Update UpdateSyncedResource.php Samuel Štancl 2022-10-05 09:36:47 +02:00
  • 134cb291ea code style Abrar Ahmad 2022-10-04 14:18:48 +05:00
  • 0d1507d122 Fix code style (php-cs-fixer) PHP CS Fixer 2022-10-03 12:00:55 +00:00
  • 737454a6a9 Correct the Migrate command lukinovec 2022-10-03 14:00:27 +02:00
  • 343de54b40 Check for the the testing env in DB bootstrapper lukinovec 2022-10-03 13:59:54 +02:00
  • f46e7b2858 Correct test lukinovec 2022-10-03 13:59:14 +02:00
  • 3f7318b5ae Correct TenantDatabaseDoesNotExistException import lukinovec 2022-10-03 11:21:02 +02:00
  • 88438d1786 Update UpdateSyncedResource.php Abrar Ahmad 2022-10-03 14:18:20 +05:00
  • 0170ccc391 better names Abrar Ahmad 2022-10-03 14:10:00 +05:00
  • e6efa9f58a Update ResourceSyncingTest.php Abrar Ahmad 2022-10-03 14:03:22 +05:00
  • 8ecbe26b6d improve tests Abrar Ahmad 2022-10-03 13:49:06 +05:00
  • 6ee93d0441 update comment about middleware order Samuel Štancl 2022-10-01 20:02:13 +02:00
  • ccaba05272 Add identification section to config, refactor static properties Samuel Štancl 2022-10-01 20:01:18 +02:00
  • e5bc8ddb77 add tenantIdColumn() method (refactor previous commit) Samuel Štancl 2022-10-01 18:01:39 +02:00
  • 24146b26e2 fix #854 Samuel Štancl 2022-10-01 17:59:33 +02:00
  • cea10b2f2d
    854 - possible resolve deprecation issue The Zach 2022-09-30 16:18:16 -04:00
  • cb73936d71 wip Abrar Ahmad 2022-09-30 18:34:43 +05:00
  • ed4632142b Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 13:02:40 +00:00
  • 040c42d325 Add and use getWithPendingOption method lukinovec 2022-09-30 15:02:05 +02:00
  • 09bb5326c7 Remove duplicate tenancy bootstrappers config setting lukinovec 2022-09-30 11:21:44 +02:00
  • efd5238831 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 09:10:39 +00:00
  • a346ec450e Remove tenant ordering lukinovec 2022-09-30 11:10:03 +02:00
  • b211cf1caf Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-30 08:39:18 +00:00
  • 75ce19e4a9
    Make createPending() return the created tenant lukinovec 2022-09-30 10:38:43 +02:00
  • 7a0eaeb007 Make with-pending default to config('tenancy.pending.include_in_queries') in HasTenantOptions lukinovec 2022-09-30 10:19:31 +02:00
  • bd8a1aa2ce Remove redundant passing of $withPending to runForMultiple in TenantCollection's runForEach lukinovec 2022-09-30 10:16:47 +02:00
  • 1e04835536 Fix test name typo lukinovec 2022-09-30 10:04:51 +02:00
  • 0005f0eaa7 Use HasTenantOptions instead of the old trait name in Up/Down commands lukinovec 2022-09-30 09:46:55 +02:00
  • 065b029f48 fix phpstan issues in FilesystemTenancyBootstrapper Samuel Štancl 2022-09-30 00:11:47 +02:00
  • f614a02860 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 21:53:17 +00:00
  • 3e78bd935e fix all phpstan issues in resource syncing code Samuel Štancl 2022-09-29 23:52:47 +02:00
  • e8071944ad Merge branch 'master' into resource-syncing Samuel Štancl 2022-09-29 23:42:58 +02:00
  • 137d80a20c Merge branch 'master' of github.com:archtechx/tenancy Samuel Štancl 2022-09-29 23:40:41 +02:00
  • f98a901aeb get down to 21 phpstan errors Samuel Štancl 2022-09-29 23:39:35 +02:00
  • a08480f310 Fix code style (php-cs-fixer) PHP CS Fixer 2022-09-29 20:21:29 +00:00