1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-07 00:44:04 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Samuel Štancl
8af354c20e get phpstan errors down from 252 to 189 2022-08-30 05:44:23 +02:00
stancl
6bcd327b75 Apply fixes from StyleCI 2021-04-22 09:04:14 +00:00
Samuel Štancl
3ee1e36653
Set key type to string when uuids are used 2021-04-22 11:04:06 +02:00
amirakbulut
df34a9eab9
Modified GeneratesIds.php (#472)
* Modified GeneratesIds.php

When overwriting `getTenantKeyName()` to use another column, an exception occurs when creating new tenants. (Field 'id' doesn't have a default value).

This fixes the issue.

* Fix style

Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
2020-08-03 14:29:11 +02:00
Samuel Štancl
579779b88b Move DatabaseManager 2020-05-30 15:38:29 +02:00
Samuel Štancl
2839f45196 Refactor models & config 2020-05-24 20:40:10 +02:00
stancl
6955512a6b Apply fixes from StyleCI 2020-05-22 09:01:31 +00:00
Samuel Štancl
ac58f6992b Use getTenantKey() instead of ->id references 2020-05-20 20:41:47 +02:00
Samuel Štancl
c32f229dd5 Refactor more old code and get tests to pass 2020-05-13 04:51:37 +02:00
Renamed from src/Database/Models/Concerns/GeneratesIds.php (Browse further)