MOREL Matthieu
21423b914f
require lint before tests
...
use golangci/golangci-lint-action instead of reviewdog/action-golangci-lint as the second was not reporting any failures even if there was some.
Report code coverage with codecov/codecov-action
I have set some flags per dialect and go version
Several linters has been fixed, some disabled so the build can pass
2021-12-27 09:33:36 +01:00
Jinzhu
e953880d19
Add returning tests
2021-10-28 09:17:33 +08:00
Jinzhu
04f049c1da
Add tests for RowsAffected
2021-09-09 11:22:55 +08:00
Jinzhu
883c32e59a
Support Unscoped when delete with selected associations, close #4062
2021-02-07 14:36:27 +08:00
Jinzhu
14a0976dd4
populate the DeletedAt field when soft delete, fix #3855
2020-12-15 10:39:20 +08:00
Jinzhu
fcf2ab6c0e
Add deleted_at check when soft deleting, fix #3720
2020-11-05 11:20:08 +08:00
Jinzhu
a932175ccf
Refactor cascade delete associations
2020-09-15 14:28:26 +08:00
Jinzhu
70a7bd52ca
Support delete associations with Select when deleting
2020-09-10 21:46:18 +08:00
Jinzhu
3dfa8a66f1
Fix panic when delet without pointer, close #3308
2020-08-25 17:27:28 +08:00
Jinzhu
ebdb4edda8
Add AllowGlobalUpdate mode
2020-08-23 20:08:23 +08:00
Jinzhu
39c8d6220b
Fix soft delete panic when using unaddressable value
2020-08-06 17:48:46 +08:00
Jinzhu
33c48611b6
Fix customize table with Delete, close #3129
2020-07-10 13:08:29 +08:00
Jinzhu
e7b2e92ce3
Remove RecordNotFound method
2020-06-07 22:03:45 +08:00
Jinzhu
8bb05a5a69
Refactor tests files
2020-06-02 10:50:38 +08:00
Jinzhu
e986371a42
Rename package name
2020-06-02 09:18:01 +08:00
Jinzhu
1559fe24e5
Add more updates test
2020-06-01 19:41:33 +08:00
Jinzhu
e26abb84b3
Test block global update/delete
2020-05-31 20:42:07 +08:00
Jinzhu
7c0de9199c
Test Migrate Indexes
2020-05-30 22:43:41 +08:00
Jinzhu
f0a442adff
Refactor tests
2020-05-23 23:50:48 +08:00