Commit Graph

14 Commits

Author SHA1 Message Date
appleboy be77a7084b refactor: ensure non-null values in migration table creation (#2434)
- Change the migration table creation to not allow null values for the column

fix https://gitea.com/xorm/xorm/issues/2433

Signed-off-by: appleboy <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2434
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
2024-03-17 03:53:16 +00:00
Lunny Xiao 0c9a2f6a70 Fix migrate schema bug (#2407)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2407
2024-02-08 08:45:23 +00:00
Lunny Xiao 70c6978fc4 Use github.com/microsoft/go-mssqldb instead of old mssqldb repository (#2386) (#2390)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2386
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2390
2024-01-16 07:56:04 +00:00
Lunny Xiao a2d3669edf Add README and fix some lints (#2079)
as title.

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2079
2021-12-14 09:00:35 +08:00
Lunny Xiao 0a429a241d Drop sync function and rename sync2 to sync (#2018)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2018
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-24 17:13:17 +08:00
Lunny Xiao 4bfe6853f5 Fix some comments lint and bug (#1888)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1888
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-10 10:57:36 +08:00
Lunny Xiao bf25a77bca Merge core package back into the main repository and split into serval sub packages. (#1543)
Fix test

Improve fmt

update go.mod

Move core as a sub package

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1543
2020-02-24 08:53:18 +00:00
Lunny Xiao 22aef2cd32 Add makefile (#1531)
Fix drone

Fix ci

Add deps

Improve drone

Fix envs

Add makefile

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1531
2020-02-21 01:38:47 +00:00
Lunny Xiao b81aa40128 Move github.com/go-xorm/xorm to xorm.io/xorm (#1459) 2019-10-15 05:15:41 +00:00
techknowlogick 617e0ae295 clean up go modules (#1260) 2019-03-31 19:39:43 +08:00
Bo-Yi Wu 545f30f5cc just return error instead. (#1046) 2018-07-22 22:43:48 +08:00
Bo-Yi Wu 149e6abf07 fix: gofmt error. (#873) 2018-04-08 08:53:15 +08:00
Lunny Xiao cd46810bf9
Fix migrate migrationDidRun bug on postgres (#818)
* fix migrate migrationDidRun bug on postgres

* fix missing error handle
2018-01-29 19:49:01 -06:00
Andrey Nering 24a6ab1609 Add migrate package for schema versioned migrations (#549)
This is a port from https://github.com/go-gormigrate/gormigrate
2017-03-25 22:10:23 +08:00