Commit graph

17 commits

Author SHA1 Message Date
Zsombor
c2dcb35148 Fixing : ()
* Format boolean values to true/false even when it is returned as byte-slice,
* Fix the sequence generation, the proper sequence name is used (instead of 'table_id_seq'), and fix the next value be max+1 always
2019-01-16 16:24:09 -05:00
Zsombor
31aa00fa4b Update xorm to fix issue and () 2019-01-09 17:18:06 -05:00
kolaente
6db7dbd333 Added test environment for mssql ()
* Added test environment for m$sql

* Added template for test environment for m$sql

* Fix password

* Fix password (again)

* Fix password (again again)

* Fix db

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Create master database for mssql integration tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Create database only if master do not exist

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix mssql integration tests by using custom database "gitea"

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Moved defer

* bump xorm

* updated xorm

* Fixed build
2018-12-12 09:01:41 +08:00
Lauris BH
0c59edaafa Update xorm to latest version and fix correct user table referencing in sql () 2018-07-20 10:10:17 +08:00
Lunny Xiao
97fe773491 fix MSSQL bug on org () 2018-01-27 17:20:59 +02:00
Lunny Xiao
a8717e5e3a Use AfterLoad instead of AfterSet on Structs ()
* use AfterLoad instead of AfterSet on Structs

* fix the comments on AfterLoad

* fix the comments on action AfterLoad
2017-10-01 19:52:35 +03:00
Lunny Xiao
005900baea Use created & updated instead BeforeInsert & BeforeUpdate ()
* use created & updated instead BeforeInsert & BeforeUpdate

* fix vendor checksum

* only show generated SQL when development mode

* remove extra update column updated_unix

* remove trace config
2017-09-13 08:18:22 +03:00
Lunny Xiao
2c6a0fdca8 update latest xorm version to vendor () 2017-08-22 14:39:52 +03:00
Lauris BH
3792867955 Update xorm to latest version ()
* Update xorm to latest version

* Update xorm/builder
2017-05-02 08:50:33 +08:00
Lunny Xiao
5acfc7c4bc fix migrate failed and org dashboard failed on MSSQL database () 2017-04-06 18:47:25 -07:00
Lunny Xiao
284c0160c3 update xorm vendor and also fix () 2017-02-10 23:02:26 +08:00
Bo-Yi Wu
691fbdf1d3 fix: delete attachment after remove comment. 2017-01-25 16:40:43 +01:00
Lunny Xiao
907b6f943c update xorm for bugs fix () 2017-01-23 19:11:57 +08:00
Lunny Xiao
a8048c19f3 Update xorm and fix dump command ()
* update xorm and fix dump

* catch database init error

* still use dumpTables

* fix dump bool type

* update vendor.json
2017-01-23 17:11:18 +08:00
Lunny Xiao
980dd0bf51 Update xorm and dependencies vendor for feature to dump to other database ()
* update xorm and dependencies vendor for feature to dump to other database

* fix golint
2017-01-03 16:20:28 +08:00
Lunny Xiao
a8c6698de8 Fix error 500 on organization dashboard page () 2016-11-12 00:40:21 +08:00
Thomas Boerger
1ebb35b988
Added all required dependencies 2016-11-04 08:43:11 +01:00