Fix warnings with schema Sync2 with default varchar as NVARCHAR #1783

Merged
lunny merged 22 commits from zeripath/xorm:fix-1782-MSSQL-nvarchar-fixes into master 2020-09-08 01:40:09 +00:00

22 Commits

Author SHA1 Message Date
ee850f9407
prod CI
All checks were successful
continuous-integration/drone/pr Build is passing
2020-09-06 17:56:43 +01:00
36781ead05
Merge branch 'fix-1782-MSSQL-nvarchar-fixes' of gitea.com:zeripath/xorm into fix-1782-MSSQL-nvarchar-fixes
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-06 17:31:51 +01:00
5729222a0e
map "character" to Char for postgres
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-06 17:30:48 +01:00
b2c14d04ac Merge branch 'master' into fix-1782-MSSQL-nvarchar-fixes
All checks were successful
continuous-integration/drone/pr Build is passing
2020-09-06 12:27:55 +00:00
2f656b2211
Postgres (and cockroachDB by inheritance) maps Char to Varchar
All checks were successful
continuous-integration/drone/pr Build is passing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-06 13:06:57 +01:00
d52e8e7e8d
fix test
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-06 12:45:21 +01:00
fc44a96cfa
Add a few more column testcases in light of postgres weirdness
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-06 12:33:12 +01:00
f38a19fb2b
prod CI
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-05 22:45:25 +01:00
d48af2bb07
prod CI
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-05 22:34:10 +01:00
e6f2cb3daa
prod CI
Some checks failed
continuous-integration/drone/pr Build is failing
2020-09-05 22:03:35 +01:00
749818bddd
Properly handle MAX
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-05 21:49:46 +01:00
c825309e5b
Add tests for Test and Char columns
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-05 21:30:14 +01:00
922604eaad
prod CI
All checks were successful
continuous-integration/drone/pr Build is passing
2020-09-05 11:17:50 +01:00
61503d4db0
fix test
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-05 10:39:14 +01:00
9b384f6f8d
Remove the duplicate mssql drone test and add a specific sync test
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-05 09:37:02 +01:00
3a7eec0c08
add depends_on (2)
All checks were successful
continuous-integration/drone/pr Build is passing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 22:47:12 +01:00
ffaa02ec28
add depends_on
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 22:44:43 +01:00
fafa19feca
add nvarchar as a testcase
Some checks failed
continuous-integration/drone/pr Build is failing
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 22:33:37 +01:00
a966473595
Set defaultVarchar to upper case
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 22:31:20 +01:00
558822b6d7
Fix length issue
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 20:44:06 +01:00
65547a343c
schemas.Text should map to db.defaultVarchar
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 20:14:30 +01:00
011fcf5c47
Add failing test
Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-09-04 20:06:46 +01:00