summaryrefslogtreecommitdiffstats
path: root/integrations/migration-test
Commit message (Collapse)AuthorAgeFilesLines
* Convert files to utf-8 for indexing (#7814)guillep2k2019-08-151-1/+2
| | | | | | | | | | | | | | * Convert files to utf-8 for indexing * Move utf8 functions to modules/base * Bump repoIndexerLatestVersion to 3 * Add tests for base/encoding.go * Changes to pass gosimple * Move UTF8 funcs into new modules/charset package
* Fix dropTableColumns sqlite implementation (#7710)zeripath2019-08-051-0/+0
| | | | | | | | | | * Fix dropTableColumns sqlite implementation * use droptables and its index dropping support in v78 and v85 * golang-ci fixes * Add migration from gitea 1.3.3 for sqlite which reveals the droptables bug - thus showing this works
* Update to latest mssqldriver (#7613)zeripath2019-07-261-1/+9
| | | | * New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
* Add golangci (#6418)kolaente2019-06-121-15/+0
|
* Add mssql migration tests (#6852)zeripath2019-05-064-7/+7
|
* Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314)Richard Mahn2019-04-171-1/+2
|
* Quieter Integration Tests (#6513)zeripath2019-04-071-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | * Rename BaseLogger to WriterLogger to help the creation of other providers * Don't export ColorBytes and ResetBytes from ColoredValues * Make integration tests only print logs if they fail * check can color before coloring * I always forget about MSSQL * Oh and use LEVEL in sqlite.ini * Make the test logger log at info - as it means you see the router * Remove empty expected changes * Make the migrations quieter too * Don't display SQL on error - it can be looked at in the file logs if necessary * Fix skip when using onGiteaRun
* Add migration test (#5773)zeripath2019-01-2810-0/+245
* Add migration test This commit adds a simple migration test for v1.5.3, v1.6.4 and v1.7.0-rc3 Signed-off-by: Andrew Thornton <art27@cantab.net> * Automigrate based on available dbs * remove old ini file * Standardise the dialect names