Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: storage update error #140

Merged
merged 1 commit into from
Oct 27, 2021
Merged

fix: storage update error #140

merged 1 commit into from
Oct 27, 2021

Conversation

2hxst
Copy link
Contributor

@2hxst 2hxst commented Oct 27, 2021

api: PUT /api/storages/:id
error: Incorrect datetime value: '0000-00-00' for column 'created' at row 1

model.Storage created 字段添加 只读tag , 参考 https://gorm.io/docs/models.html#Field-Level-Permission

@saltbo
Copy link
Owner

saltbo commented Oct 27, 2021

其实你不用新开一个PR,force-push是可以直接同步到之前的PR #139 的。

@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #140 (b12c890) into master (057ad8e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #140   +/-   ##
=======================================
  Coverage   27.00%   27.00%           
=======================================
  Files          15       15           
  Lines         548      548           
=======================================
  Hits          148      148           
  Misses        349      349           
  Partials       51       51           

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 057ad8e...b12c890. Read the comment docs.

@saltbo saltbo merged commit 02302cc into saltbo:master Oct 27, 2021
@2hxst
Copy link
Contributor Author

2hxst commented Oct 27, 2021

其实你不用新开一个PR,force-push是可以直接同步到之前的PR #139 的。

好的,因为我回滚了,所以PR就关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants