atk4 / schema

Few classes built on top of Agile Data that can take care of your SQL database schema
https://agiletoolkit.org/
MIT License
4 stars 5 forks source link

add transcoding between DB and DSQL + Test #8

Closed abbadon1334 closed 5 years ago

abbadon1334 commented 5 years ago

i dunno if this is the direction of this library, but i add some transcode to normalize different PDO drivers and DSQL, i add some tests to check every type, i tested it on sqlite and mysql.

codecov[bot] commented 5 years ago

Codecov Report

Merging #8 into develop will decrease coverage by 6.34%. The diff coverage is 51.02%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop       #8      +/-   ##
=============================================
- Coverage      72.33%   65.98%   -6.35%     
- Complexity       129      146      +17     
=============================================
  Files              5        5              
  Lines            300      344      +44     
=============================================
+ Hits             217      227      +10     
- Misses            83      117      +34
Impacted Files Coverage Δ Complexity Δ
src/Migration/SQLite.php 100% <ø> (ø) 1 <0> (ø) :arrow_down:
src/MigratorConsole.php 0% <0%> (ø) 4 <1> (+1) :arrow_up:
src/Migration/MySQL.php 90.9% <100%> (ø) 3 <0> (ø) :arrow_down:
src/Migration.php 65.5% <56.09%> (-7.8%) 99 <14> (+16)

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 b856ea0...3984000. Read the comment docs.