luizalabs / teresa

Open source tool to deploy apps to Kubernetes clusters
Other
556 stars 77 forks source link

Fix database initial migration on mysql 5.7 #545

Closed aguerra closed 6 years ago

aguerra commented 6 years ago

Remove defaults from the base model, it turns out that gorm handles the fields CreatedAt and UpdatedAt automatically by convention.

codecov-io commented 6 years ago

Codecov Report

Merging #545 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #545   +/-   ##
=======================================
  Coverage   48.83%   48.83%           
=======================================
  Files          80       80           
  Lines        5467     5467           
=======================================
  Hits         2670     2670           
  Misses       2616     2616           
  Partials      181      181

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 724861b...1e31d12. Read the comment docs.