Adjust model database type mapping (#1949)

adjust definitions according to feedback from real world usage
(ci.codeberg.org)

close  #1892
close  #1865
This commit is contained in:
6543
2023-07-08 20:09:53 +02:00
committed by GitHub
parent 6c58e9db9b
commit 7c99c8b843
5 changed files with 8 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ type oldStep020 struct {
PPID int `xorm:"step_ppid"`
Name string `xorm:"step_name"`
State model.StatusValue `xorm:"step_state"`
Error string `xorm:"VARCHAR(500) step_error"`
Error string `xorm:"TEXT 'step_error'"`
Started int64 `xorm:"step_started"`
Stopped int64 `xorm:"step_stopped"`
AgentID int64 `xorm:"step_agent_id"`