mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
446c06b817
Migrations currently uses the default Xorm mapper which is not the same as the mapper Gitea actually uses. This means that there is a difference between the struct parsing and mapping to database tables in migrations as compared to normal Sync2. This was the cause for the catastrophic problem in v168 - untagged fields are not mapped in the same way in migrations as compared to outside of migrations. This is also likely the cause of some weird subtle failures in other migrations as any untagged field may not be being mapped exactly the same way. This PR suggests that we ensure that the mapper is set at the start of the migrations code - but also enforces a strict clean mapper between each migration. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> |
4 years ago | |
---|---|---|
.. | ||
migrations.go | 4 years ago | |
v70.go | 5 years ago | |
v71.go | 5 years ago | |
v72.go | 5 years ago | |
v73.go | 5 years ago | |
v74.go | 5 years ago | |
v75.go | 5 years ago | |
v76.go | 5 years ago | |
v77.go | 5 years ago | |
v78.go | 5 years ago | |
v79.go | 5 years ago | |
v80.go | 5 years ago | |
v81.go | 5 years ago | |
v82.go | 5 years ago | |
v83.go | 5 years ago | |
v84.go | 5 years ago | |
v85.go | 5 years ago | |
v86.go | 5 years ago | |
v87.go | 5 years ago | |
v88.go | 5 years ago | |
v89.go | 5 years ago | |
v90.go | 5 years ago | |
v91.go | 5 years ago | |
v92.go | 5 years ago | |
v93.go | 5 years ago | |
v94.go | 5 years ago | |
v95.go | 5 years ago | |
v96.go | 5 years ago | |
v97.go | 5 years ago | |
v98.go | 5 years ago | |
v99.go | 5 years ago | |
v100.go | 5 years ago | |
v101.go | 5 years ago | |
v102.go | 5 years ago | |
v103.go | 5 years ago | |
v104.go | 5 years ago | |
v105.go | 5 years ago | |
v106.go | 5 years ago | |
v107.go | 5 years ago | |
v108.go | 5 years ago | |
v109.go | 5 years ago | |
v110.go | 5 years ago | |
v111.go | 4 years ago | |
v112.go | 5 years ago | |
v113.go | 5 years ago | |
v114.go | 5 years ago | |
v115.go | 4 years ago | |
v116.go | 5 years ago | |
v117.go | 5 years ago | |
v118.go | 5 years ago | |
v119.go | 5 years ago | |
v120.go | 5 years ago | |
v121.go | 5 years ago | |
v122.go | 5 years ago | |
v123.go | 5 years ago | |
v124.go | 5 years ago | |
v125.go | 5 years ago | |
v126.go | 5 years ago | |
v127.go | 5 years ago | |
v128.go | 5 years ago | |
v129.go | 5 years ago | |
v130.go | 5 years ago | |
v131.go | 5 years ago | |
v132.go | 5 years ago | |
v133.go | 5 years ago | |
v134.go | 5 years ago | |
v135.go | 5 years ago | |
v136.go | 5 years ago | |
v137.go | 5 years ago | |
v138.go | 5 years ago | |
v139.go | 5 years ago | |
v140.go | 5 years ago | |
v141.go | 4 years ago | |
v142.go | 5 years ago | |
v143.go | 5 years ago | |
v144.go | 5 years ago | |
v145.go | 5 years ago | |
v146.go | 5 years ago | |
v147.go | 5 years ago | |
v148.go | 4 years ago | |
v149.go | 4 years ago | |
v150.go | 4 years ago | |
v151.go | 4 years ago | |
v152.go | 4 years ago | |
v153.go | 4 years ago | |
v154.go | 4 years ago | |
v155.go | 4 years ago |