178 Commits

Author SHA1 Message Date
Wendell Adriel
46ff7b04a7 Fix issue of duplicating timestamps fields on migration files 2023-08-31 16:43:38 +01:00
Wendell Adriel
eac784fbee Update test namespace 2023-08-31 15:51:15 +01:00
Wendell Adriel
4a2e3f393d Merge pull request #26 from WendellAdriel/feature/lift-migrate
Add lift:migration command
2023-08-31 14:08:37 +01:00
Wendell Adriel
d0c9308243 Add docs for migration command 2023-08-31 14:01:38 +01:00
Wendell Adriel
b2208b49bf Initial implementation for the migration command 2023-08-31 13:55:17 +01:00
Wendell Adriel
da54a8c9d8 Merge pull request #21 from WendellAdriel/to-array-override
Fix behaviour for toArray and toJson methods
2023-08-30 20:19:11 +01:00
Wendell Adriel
42ba37f1b1 Update model to return model properties even when custom columns are defined when converting to array or json 2023-08-30 20:16:27 +01:00
Wendell Adriel
e298d4b806 Merge pull request #16 from WendellAdriel/feature/custom-named-primary-key
Ability to use Property with custom name as Primary Key
2023-08-30 10:04:05 +01:00
Wendell Adriel
e921ac7436 Merge branch 'main' of github.com:WendellAdriel/laravel-lift into feature/custom-named-primary-key 2023-08-30 10:01:59 +01:00
Wendell Adriel
b921d3b553 Fix issue when using custom named column as primary key 2023-08-30 10:01:35 +01:00
Wendell Adriel
d61eb6237f Merge pull request #15 from PerryvanderMeer/fix-belongsto
Fix extending models with BelongsTo
2023-08-29 21:01:12 +01:00
PerryvanderMeer
41363cb04f fix test 2023-08-29 21:43:00 +02:00
Wendell Adriel
b4be3c10c9 Add note for the Primary Key attribute 2023-08-29 20:29:42 +01:00
Perry van der Meer
8d9b230ea0 Update TestCase.php 2023-08-29 21:20:34 +02:00
Perry van der Meer
533dc467ba Merge branch 'main' into fix-belongsto 2023-08-29 21:18:22 +02:00
Wendell Adriel
72b7ccaa68 Merge pull request #13 from PerryvanderMeer/fix-arguments
Fix relation attributes with arguments
2023-08-29 19:44:01 +01:00
PerryvanderMeer
8edfe1be2d fix extending models with BelongsTo 2023-08-29 19:46:05 +02:00
PerryvanderMeer
6cdf4fb08c Merge remote-tracking branch 'origin/fix-arguments' into fix-arguments 2023-08-29 17:19:58 +02:00
PerryvanderMeer
ecda37996e fix relation attributes with arguments 2023-08-29 17:19:40 +02:00
Perry van der Meer
8cb43d54ec Merge branch 'main' into fix-arguments 2023-08-29 17:14:14 +02:00
PerryvanderMeer
7a277a1ac4 fix relation attributes with arguments 2023-08-29 17:10:01 +02:00
Wendell Adriel
c6bee43bd1 Merge pull request #12 from PerryvanderMeer/patch-1
Use camelCase for Relations
2023-08-29 14:17:41 +01:00
Perry van der Meer
c4d6c71769 line endings to LF 2023-08-29 15:07:54 +02:00
Perry van der Meer
6ca3ac86ce Update BookCase.php 2023-08-29 14:19:17 +02:00
Perry van der Meer
76b488b5b0 add test 2023-08-29 14:18:00 +02:00
Wendell Adriel
d954d5b579 Improve docs 2023-08-29 13:11:09 +01:00
Perry van der Meer
34f9a44d90 use camelcase 2023-08-29 13:34:06 +02:00
Wendell Adriel
d62a855517 Merge pull request #11 from WendellAdriel/feature/relationship-attributes
Add relationships attributes
2023-08-28 20:30:55 +01:00
Wendell Adriel
884197af7f Fix issues in docs 2023-08-28 20:29:55 +01:00
Wendell Adriel
22e277a9b2 Add docs for Relationships attributes 2023-08-28 20:19:51 +01:00
Wendell Adriel
97057216aa Improve tests 2023-08-28 19:46:01 +01:00
Wendell Adriel
6f1c14981a Refactor how to handle missing keys for relations 2023-08-28 19:13:33 +01:00
Wendell Adriel
67308c9620 Finish implementation for MorphToMany and MorphedByMany relations 2023-08-28 19:07:56 +01:00
Wendell Adriel
11f6475a1f Finish implementation for MorphOne relation 2023-08-28 19:01:48 +01:00
Wendell Adriel
db06fb8511 Finish implementation for MorphMany and MorphTo relations 2023-08-28 18:59:08 +01:00
Wendell Adriel
e271ea5765 Finish implementation for HasOneThrough relation 2023-08-28 18:50:40 +01:00
Wendell Adriel
b4cd097a2b Remove MorphedByMany relation 2023-08-28 18:24:43 +01:00
Wendell Adriel
890231819d Create test TODOs 2023-08-28 18:19:43 +01:00
Wendell Adriel
e461c1820f Finish implementation for HasOne relation 2023-08-28 17:56:38 +01:00
Wendell Adriel
c7dcda584c Finish implementation for HasManyThrough relation 2023-08-28 17:52:37 +01:00
Wendell Adriel
4546e8efb3 Finish implementation for HasManyThrough relation 2023-08-28 17:52:28 +01:00
Wendell Adriel
f1bcd9fa20 Finish implementation for BelongsToMany and HasMany relations 2023-08-28 17:41:01 +01:00
Wendell Adriel
4fd61f40fc Created Relations attributes classes 2023-08-28 17:20:04 +01:00
Wendell Adriel
89af821f2e Create BelongsTo relation attribute 2023-08-28 16:44:51 +01:00
Wendell Adriel
7e9a3ae7e1 Improve Watch attribute docs 2023-08-27 12:47:09 +01:00
Wendell Adriel
50a39a634a Merge pull request #9 from WendellAdriel/feature/new-attributes
Add `Immutable` and `Watch` attributes and `immutableProperties` and `watchedProperties` methods
2023-08-27 12:29:47 +01:00
Wendell Adriel
803ddaf507 Create Watch attribute 2023-08-27 12:23:03 +01:00
Wendell Adriel
d485806488 Create Immutable attribute 2023-08-27 11:34:09 +01:00
Wendell Adriel
437ddbd04b Added support for setting Column attribute configurations in the Config attribute 2023-08-27 11:06:36 +01:00
Wendell Adriel
72748e8097 Merge pull request #8 from WendellAdriel/feature/new-attributes
New attributes and methods
2023-08-26 21:56:44 +01:00