This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/models/migrations
zeripath 39ef6f83d5
Create Proper Migration Tests (#15116)
* Create Proper Migration tests

Unfortunately our testing regime has so far meant that migrations do not
get proper testing.

This PR begins the process of creating migration tests for this.

* Add test for v176

* fix mssql drop db

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-24 19:27:22 +01:00
..
fixtures Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
migrations.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
migrations_test.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
testlogger_test.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
v70.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v71.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v72.go
v73.go
v74.go
v75.go
v76.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v77.go
v78.go
v79.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v80.go
v81.go
v82.go
v83.go
v84.go
v85.go
v86.go
v87.go
v88.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v89.go
v90.go
v91.go
v92.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v93.go
v94.go
v95.go
v96.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v97.go
v98.go
v99.go
v100.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v101.go
v102.go
v103.go
v104.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v105.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v106.go
v107.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v108.go
v109.go
v110.go
v111.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v112.go
v113.go
v114.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v115.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v116.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v117.go
v118.go
v119.go
v120.go
v121.go
v122.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v123.go
v124.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v125.go
v126.go
v127.go
v128.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v129.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v130.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v131.go
v132.go
v133.go
v134.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v135.go
v136.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v137.go
v138.go
v139.go
v140.go
v141.go Fix migration v141 (#14387) 2021-01-28 23:58:33 +01:00
v142.go
v143.go
v144.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v145.go
v146.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v147.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v148.go [BugFix] Fix comment broken issue ref dependence (#12651) 2020-09-04 09:36:56 +08:00
v149.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
v150.go Add Primary Key to Topic and RepoTopic (#12639) 2020-09-10 20:45:01 +01:00
v151.go Add migration for password algorithm change (#12784) 2020-09-15 18:02:41 -04:00
v152.go Add configurable Trust Models (#11712) 2020-09-20 00:44:55 +08:00
v153.go Add team support for review request (#12039) 2020-10-12 20:55:13 +01:00
v154.go Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 2020-10-12 20:01:57 -04:00
v155.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
v156.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v157.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v158.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v159.go Include OriginalAuthor in Reaction constraint (#13505) 2020-11-10 22:37:11 +00:00
v160.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
v161.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v162.go chore(models): rewrite code format. (#14754) 2021-03-14 19:52:12 +01:00
v163.go Change topic name size from 25 to 50 (#14150) 2020-12-26 23:28:47 +00:00
v164.go Minimal OpenID Connect implementation (#14139) 2021-01-02 00:33:27 +08:00
v165.go Fix wrong type on hooktask to convert typ from char(16) to varchar(16) (#14148) 2021-01-06 16:11:23 +01:00
v166.go Remove unused commit (#14741) 2021-02-20 15:02:39 +01:00
v167.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
v168.go noop (#14521) 2021-01-29 23:52:13 +08:00
v169.go Use OldRef instead of CommitSHA for DeleteBranch comments (#14604) 2021-02-08 11:09:14 +08:00
v170.go Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
v171.go Add v171 (addSortingColToProjectBoard) migration for #14634 (#14652) 2021-02-12 13:01:26 +02:00
v172.go Create DB session provider(based on xorm) (#13031) 2021-02-15 00:33:31 -05:00
v173.go Add UI to delete tracked times (#14100) 2021-02-19 12:52:11 +02:00
v174.go Delete Labels & IssueLabels on Repo Delete too (#15039) 2021-03-19 21:01:24 +02:00
v175.go Fix postgres ID sequences broken by recreate-table (#15015) 2021-03-18 02:06:40 -04:00
v176.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
v176_test.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
v177.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00
v177_test.go Create Proper Migration Tests (#15116) 2021-03-24 19:27:22 +01:00