cycle / annotated

Schema generation using annotated entities and mappers
MIT License
23 stars 12 forks source link

Introduce `PrimaryKey` class level annotation for composite pkeys #19

Closed rauanmayemir closed 3 years ago

rauanmayemir commented 3 years ago

This is a preliminary work for cycle v2's composite primary keys support.

rauanmayemir commented 3 years ago

Cc: @roxblnfk

codecov[bot] commented 3 years ago

Codecov Report

Merging #19 (cd55738) into master (6fa9f1d) will decrease coverage by 0.08%. The diff coverage is 91.30%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #19      +/-   ##
============================================
- Coverage     89.87%   89.79%   -0.09%     
- Complexity      201      208       +7     
============================================
  Files            15       16       +1     
  Lines           415      431      +16     
============================================
+ Hits            373      387      +14     
- Misses           42       44       +2     
Impacted Files Coverage Δ
src/Annotation/Table/Index.php 100.00% <ø> (ø)
src/MergeIndexes.php 87.93% <88.23%> (-1.66%) :arrow_down:
src/Annotation/Table.php 100.00% <100.00%> (ø)
src/Annotation/Table/PrimaryKey.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6fa9f1d...cd55738. Read the comment docs.