Samuel Štancl
|
7317d2638a
|
Postgres RLS + permission controlled database managers (#33)
This PR adds Postgres RLS (trait manager + table manager approach) and permission controlled managers for PostgreSQL.
---------
Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
|
2024-04-24 22:32:49 +02:00 |
|
Abrar Ahmad
|
fb2369dc11
|
anonymous publishable migrations (#1001)
|
2022-11-11 13:02:13 +01:00 |
|
Samuel Štancl
|
2a39b0526a
|
Fix #998, properly replace ALL tenant_id literals
|
2022-11-10 16:44:52 +01:00 |
|
Abrar Ahmad
|
627233d07a
|
[4.x] Don't use onDeleteCascade in the migrations (#883)
* removed `cascade` on delete for domains
* removed only `onDelete` cascade
* keep impersonation migrations unchanged
* domains set null on delete
* Update 2019_09_15_000020_create_domains_table.php
* Added DeleteDomain Job while deleting tenant.
* Update assets/TenancyServiceProvider.stub.php
Co-authored-by: Samuel Štancl <samuel@archte.ch>
* renamed class
* Update DeleteDomains.php
* onDelete restrict
* revert nullable
* removed `shouldQueue` interface
* Update TenancyServiceProvider.stub.php
* fetch and delete domains individually
* Update DeleteDomains.php
* tests for `DeleteDomains` job
Co-authored-by: Samuel Štancl <samuel@archte.ch>
|
2022-07-20 13:02:33 +02:00 |
|
Samuel Štancl
|
10a5b80d44
|
User impersonation
|
2020-05-15 07:30:57 +02:00 |
|
Samuel Štancl
|
52476d6298
|
Use nullable data column instead of default value
|
2020-05-15 02:04:51 +02:00 |
|
Samuel Štancl
|
7ad93adde5
|
Remove is_primary from domain migrations
|
2020-05-09 02:49:27 +02:00 |
|
Samuel Štancl
|
a602cec940
|
Fix event listener tests, improve domain logic
|
2020-05-09 02:49:08 +02:00 |
|
Samuel Štancl
|
e1a4054743
|
Domain model & resolver test
|
2020-05-08 18:16:18 +02:00 |
|
Samuel Štancl
|
bd9aad229b
|
vague first draft of v3. TenantModelTest is passing
|
2020-05-08 04:37:43 +02:00 |
|
Samuel Štancl
|
33f5f0e316
|
Remove timestamps
|
2019-09-29 11:59:17 +02:00 |
|
Samuel Štancl
|
6b103cd2cb
|
Model timestamps
|
2019-09-27 22:53:38 +02:00 |
|
Anton Komarev
|
cacf239801
|
Replace drop with dropIfExists in migrations (#143)
|
2019-09-26 19:02:44 +02:00 |
|
Anton Komarev
|
ee06ff296e
|
[2.x] Make Domain's model domain key as a primary (#141)
* Make Domain's model domain key as a primary
* Remove comments
|
2019-09-26 18:04:39 +02:00 |
|
Chris Brown
|
a166de2ef6
|
Rename migration stubs so they show next to each other (#127)
|
2019-09-25 08:07:01 +02:00 |
|
Samuel Štancl
|
eb6cba8f1a
|
Create MySQL/PostgreSQL DBs while using sqlite as the central DB driver
|
2019-09-21 11:11:36 +02:00 |
|
Samuel Štancl
|
61cc0d9364
|
Update tenant tests
|
2019-09-20 19:24:02 +02:00 |
|
Samuel Štancl
|
b268dd5d50
|
Multiple domains test
|
2019-09-20 18:13:25 +02:00 |
|
Samuel Štancl
|
c65b6839ff
|
Tenant-specific connections, some work to get tests running
|
2019-09-15 17:44:26 +02:00 |
|
Samuel Štancl
|
1bfe4a7ea5
|
Apply fixes from StyleCI (#126)
|
2019-09-11 17:37:02 +02:00 |
|
Samuel Štancl
|
2fd3662eb7
|
[1.8.0] Use strict types (#115)
* Use strict types
* Apply fixes from StyleCI
* Fix str_repeat
* Fix false json decode
|
2019-08-23 18:18:26 +02:00 |
|
Samuel Štancl
|
8d92d7481e
|
Remove default JSON value
Fails on MySQL
|
2019-08-17 14:37:39 +02:00 |
|
Samuel Štancl
|
9df78eb9c2
|
[1.7.0] Add DB storage driver (#82)
|
2019-08-16 14:36:49 +02:00 |
|