Samuel Štancl
|
5170d4ccde
|
Remove use statement
|
2020-03-05 18:09:12 +01:00 |
|
Samuel Štancl
|
9a13cac9d2
|
Store string instead of Connection instance
|
2020-03-05 18:08:16 +01:00 |
|
Nuradiyana
|
68b74642c8
|
Reverted change
|
2020-03-05 12:08:27 +07:00 |
|
Nuradiyana
|
e6280837cb
|
Fixing style
|
2020-02-27 00:53:06 +07:00 |
|
Nuradiyana
|
0887790ce4
|
Fixing testing
|
2020-02-27 00:45:06 +07:00 |
|
Nuradiyana
|
f5f03f8097
|
Merge branch '2.x' into support-schema-postgres
|
2020-02-27 00:30:53 +07:00 |
|
Noor Adiana
|
ac3751b24e
|
Merge pull request #2 from stancl/support-schema-postgres
Move separate_by to database
|
2020-02-26 23:27:14 +07:00 |
|
Samuel Štancl
|
292b7acd16
|
Make asset tenancy optional (#300)
|
2020-02-26 09:14:40 +01:00 |
|
Samuel Štancl
|
98ce0ee294
|
Make DB creation optional (#299)
|
2020-02-26 08:49:08 +01:00 |
|
Sean Taylor
|
5bb743f73d
|
Reinitialize tenancy for queued jobs if tenant id has changed (#276)
* Reinitialize tenancy for queued jobs if tenant id has changed
* Refactor condition logic for better readability
|
2020-02-22 13:58:30 +01:00 |
|
curious-jim
|
06ee1ff0e2
|
Migration paths (#268)
* allow multiple paths for tenant migrations
* tests: allow multiple paths for tenant migrations
* Update tests/CommandsTest.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update src/Traits/DealsWithMigrations.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update tests/CommandsTest.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update src/Traits/DealsWithMigrations.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
* Update tests/TestCase.php
Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
|
2020-02-16 12:10:50 +01:00 |
|
Samuel Štancl
|
95ee295da1
|
Fix PDO serialization exception (#289)
* Fix PDO serialization exception when queueing tenant creation
* Apply fixes from StyleCI
* Fix $this->database() calls
|
2020-02-10 16:04:40 +01:00 |
|
Samuel Štancl
|
01f080450d
|
Add link to support
|
2020-01-27 18:22:10 +01:00 |
|
Samuel Štancl
|
b4cf658ad8
|
Create SUPPORT.md
|
2020-01-27 18:21:08 +01:00 |
|
Samuel Štancl
|
bb46767257
|
Add regression test for #271
|
2020-01-19 12:15:26 +01:00 |
|
Samuel Štancl
|
6ad1a6639f
|
Set $persisted in TenantManager::createTenant() (#272)
* Set $persisted in TenantManager::createTenant()
* Apply fixes from StyleCI
|
2020-01-19 12:08:16 +01:00 |
|
Samuel Štancl
|
5ebb68e860
|
Fix issue related to closure middleware
|
2019-12-26 20:28:29 +01:00 |
|
Samuel Štancl
|
fed8c0f9d1
|
[2.2.4] [WIP] Respect custom connections when creating database (#244)
* Add TenantDatabaseManager::setConnection()
* Apply fixes from StyleCI
|
2019-12-11 22:16:25 +01:00 |
|
Jess Johannessen
|
5145b1f13e
|
Added support for migration parameters (#243)
|
2019-12-10 16:56:51 +01:00 |
|
Samuel Štancl
|
8699c8530b
|
Move separate_by to database
|
2019-12-09 14:43:42 +01:00 |
|
Samuel Štancl
|
609b6f12cf
|
Remove typehints passed to route()
|
2019-12-06 22:34:02 +01:00 |
|
Noor Adiana
|
90d04a336d
|
Merge pull request #1 from stancl/support-schema-postgres
[WIP] Some changes to Support schema postgres
|
2019-12-04 09:18:40 +07:00 |
|
Samuel Štancl
|
f99ecb72c7
|
Don't accept closures in tenant() helper
|
2019-12-03 22:52:30 +01:00 |
|
Samuel Štancl
|
9851f088ea
|
Make route parameter optional, fix #240
|
2019-12-03 22:49:20 +01:00 |
|
Samuel Štancl
|
4041166f3a
|
Merge branch 'support-schema-postgres' of github.com:stancl/tenancy into support-schema-postgres
|
2019-12-02 20:41:44 +01:00 |
|
Samuel Štancl
|
cf2f98ad08
|
revert to db as default for pgsql
|
2019-12-02 20:39:03 +01:00 |
|
stancl
|
a4fd296d03
|
Apply fixes from StyleCI
|
2019-12-02 19:37:03 +00:00 |
|
Samuel Štancl
|
743369cde7
|
wip
|
2019-12-02 20:36:44 +01:00 |
|
Samuel Štancl
|
a8f84d2808
|
Accept closures in tenant() helper
|
2019-12-02 17:57:16 +01:00 |
|
Nuradiyana
|
2ff3dd4283
|
Add support for postgres schema
|
2019-12-02 01:54:07 +07:00 |
|
Samuel Štancl
|
fd00be646e
|
[2.3.0] tenant_route() helper (#229)
* Add tenant_route helper
* Add tests
* Remove redundant setUp()
* Fix test namespaces
* Apply fixes from StyleCI
|
2019-11-29 00:12:07 +01:00 |
|
Samuel Štancl
|
4e477b472f
|
Move ignition contracts to require
|
2019-11-23 15:17:51 +01:00 |
|
Samuel Štancl
|
f34986b29f
|
[2.2.0] Tenant aware commands (#221)
* wip
* Apply fixes from StyleCI
* Return value when a single tenant is passed
* array map -> foreach
* bug fixes
|
2019-11-10 12:32:26 +01:00 |
|
Samuel Štancl
|
2b00665247
|
[2.2.0] Allow --path to be specified for migration commands (#211)
* Allow --path to be specified for migration commands
* Fix tests
|
2019-11-07 21:44:45 +01:00 |
|
Mads Møller
|
b3cf499ebd
|
add missing json extension (#217)
|
2019-11-06 18:02:51 +01:00 |
|
Samuel Štancl
|
0edb751e26
|
Update config key
|
2019-11-06 18:02:12 +01:00 |
|
Samuel Štancl
|
e953b18eb3
|
Register tenant routes after other SPs are executed (#216)
|
2019-11-05 23:33:57 +01:00 |
|
Samuel Štancl
|
0616e608aa
|
Update docblock
|
2019-11-04 22:07:07 +01:00 |
|
Samuel Štancl
|
1ef061ffc7
|
Array with global MW
|
2019-11-04 18:36:22 +01:00 |
|
Samuel Štancl
|
31c9930c93
|
[2.2.0] Timestamps (#213)
* Timestamps
* Apply fixes from StyleCI
* Add void typehint
* wip
* Fix tests
* Apply fixes from StyleCI
|
2019-11-04 17:56:08 +01:00 |
|
Samuel Štancl
|
b0c8e92bb4
|
Fix styleci
|
2019-11-03 18:32:13 +01:00 |
|
Samuel Štancl
|
a59aac5389
|
Fix styleci
|
2019-11-03 18:30:37 +01:00 |
|
Samuel Štancl
|
aeb15d4251
|
Fix Tenant::new()
|
2019-10-30 18:22:17 +01:00 |
|
Samuel Štancl
|
9c4f678321
|
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
|
2019-10-30 18:11:56 +01:00 |
|
Samuel Štancl
|
8639e51c93
|
Clean up dependencies
|
2019-10-30 18:10:43 +01:00 |
|
Samuel Štancl
|
ab04ef025b
|
[2.2.0] Universal routes (#210)
* Universal routes
* Fix bugs
* Add universal MW group
|
2019-10-30 15:50:00 +01:00 |
|
Samuel Štancl
|
518ac4947c
|
Add extra dispatchNow tenancy init check
|
2019-10-29 22:06:42 +01:00 |
|
Samuel Štancl
|
ccb68f5400
|
Add test for tenant.creating hook
|
2019-10-29 21:49:50 +01:00 |
|
Samuel Štancl
|
eecadd6d39
|
Updating event
|
2019-10-29 20:16:45 +01:00 |
|
Samuel Štancl
|
596d43da2e
|
No need to use & for object methods
|
2019-10-29 20:12:24 +01:00 |
|