Change schemas.Column to use int64 #2160
Merged
lunny
merged 4 commits from zeripath/xorm:length-as-int64
into master
1 month ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'zeripath/xorm:length-as-int64'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The largest size of a column in SQL is above the largest integer that
can be stored in an int/int32. Running go on a 32bit machine will result
in ints being mapped to int32 and thus interpretting the schema will
fail.
In this PR we change the schema.Column to use int64 which will allow
Gitea to fix https://github.com/go-gitea/gitea/issues/20161
Signed-off-by: Andrew Thornton art27@cantab.net
Except tests
Fixed the test.
now it seems like drone is playing up.
c3bce55620
into master 1 month agoReviewers
c3bce55620
.