Commit Graph

  • 8197c00def
    refactor: error translator test (#6350) Saeid 2023-05-25 05:10:00 +02:00
  • 08d975e95a refactor: error translator test Saeid Saeidee 2023-05-24 13:25:43 +02:00
  • 9a76c69dd8
    chore(deps): bump gorm.io/driver/mysql from 1.5.0 to 1.5.1 in /tests dependabot[bot] 2023-05-22 07:57:58 +00:00
  • 4f4420c0d4
    chore(deps): bump gorm.io/driver/postgres from 1.5.0 to 1.5.2 in /tests dependabot[bot] 2023-05-22 07:57:52 +00:00
  • bbe761aa59
    chore(deps): bump gorm.io/driver/sqlite from 1.5.0 to 1.5.1 in /tests dependabot[bot] 2023-05-22 07:57:45 +00:00
  • 0ef253a78d
    chore(deps): bump gorm.io/driver/sqlserver from 1.4.3 to 1.5.0 in /tests dependabot[bot] 2023-05-22 07:57:40 +00:00
  • 001738be49
    Added support of "Violates Foreign Key Constraint" (#6329) Muhammad Amir Ejaz 2023-05-21 18:27:22 +05:00
  • 6698ba709e
    renamed License to LICENSE (#6336) Avinaba Bhattacharjee 2023-05-21 18:54:00 +05:30
  • 563d9b588a max identifier length changed to 63 mohammad ali ashraf 2023-05-21 01:46:27 +05:00
  • 5a7eff2060 renamed License to LICENSE Avinaba Bhattacharjee 2023-05-20 22:25:02 +05:30
  • 1757393022
    changed the description of ErrForeignKeyViolated Muhammad Amir Ejaz 2023-05-19 15:29:04 +05:00
  • 566fa32435
    Added support of "Violates Foreign Key Constraint" Muhammad Amir Ejaz 2023-05-18 15:21:42 +05:00
  • f5837deef3
    fix:clickhouse error not capture(#6277) (#6321) 201430098137 2023-05-17 10:15:41 +08:00
  • 09c8e5eeee fix:clickhouse error not capture(#6277) zhuangg 2023-05-16 12:24:12 +08:00
  • c3d7d08b9a Clear SET clause after build SQL Jinzhu 2023-05-15 15:43:44 +08:00
  • 63534145fd
    fix: 🐛 embedded struct test failed with custom datatypes (#6311) aclich 2023-05-15 09:59:26 +08:00
  • dc149c1127 fix: 🐛 change test case to avoid mssql driver issue aclich 2023-05-12 12:13:47 +08:00
  • fc3b5e7de1 add tests black 2023-05-12 08:58:25 +08:00
  • 1f768725ad fix: 🐛 embedded struct test failed with custom datatypes aclich 2023-05-11 10:42:03 +08:00
  • a0c4a21718 fix: migrator run with nil schema black 2023-05-10 09:51:43 +08:00
  • a1b7e47e75 fix: drop column with table str (#5795) black 2023-05-09 09:32:38 +08:00
  • e61b98d696
    feat: migrator support table comment (#6225) v1.25.1 John Mai 2023-05-05 15:58:27 +08:00
  • 3020d8c8a7 remove CatalogValue & EngineValue. John Mai 2023-05-05 10:11:46 +08:00
  • c4d8611763 fix: save with hook (#6285) black 2023-05-05 09:41:49 +08:00
  • 37b5759b29 Merge branch 'master' into f-table-comment-0411 John Mai 2023-05-04 23:08:28 +08:00
  • e85ce422c7 remove Catalog() & Engine() methods. John Mai 2023-05-04 22:06:52 +08:00
  • 32045fdd7d
    feat: unscoped association (#5899) (#6246) black-06 2023-05-04 19:30:45 +08:00
  • 67642abfff
    fix: 🐛 numeric types in pointer embedded struct test failed (#6293) hykuan 2023-05-04 19:29:31 +08:00
  • 0b7da85544 fix: 🐛 numeric types in pointer embedded struct test failed hykuan 2023-05-04 15:59:42 +08:00
  • e939bffcae fix: delete the json test, because the process way of json are different of mysql and postgres Jinlong Chen 2023-05-02 15:19:20 +08:00
  • 1ad2d97df9 feat: add handling for the interface field, when an Interface field is an object that has already been instantiated, use the type of the instantiated object itself instead of interface{}. Jinlong Chen 2023-05-02 14:59:16 +08:00
  • 9c2c0d2414 feat: add handling for the interface field, when an Interface field is an object that has already been instantiated, use the type of the instantiated object itself instead of interface{}. Jinlong Chen 2023-05-02 09:34:28 +08:00
  • 79dd0b8fe6
    chore(deps): bump github.com/lib/pq from 1.10.8 to 1.10.9 in /tests dependabot[bot] 2023-05-01 07:58:11 +00:00
  • 4eb10914ab feat: conditional.go query, production friendly Aitimate 2023-04-27 23:36:59 +08:00
  • 2e770fbd25 Initialize stmt.Schema in RunWithValue when value is a table name string Annalise Tarhan 2023-04-27 15:21:14 +02:00
  • 859cf9d91a omit() support called in chain 刘学涛 2023-04-27 18:22:28 +08:00
  • aeb298635b
    debug: use slice Stale sort (#6263) hanwn 2023-04-26 22:19:46 +08:00
  • 407bedae0a
    fix: nested joins alias (#6265) Cr 2023-04-26 22:19:32 +08:00
  • 1f763c81cb
    fix typo chainable_api.go (#6266) yikakia 2023-04-26 22:19:06 +08:00
  • 04f2710005
    Update migrator.go Jinzhu 2023-04-26 17:59:52 +08:00
  • 3d7256a92a
    fix typo chainable_api.go Yikakia 2023-04-25 22:14:33 +08:00
  • 88baf68a15
    fix: nested joins alias a631807682 2023-04-25 14:01:53 +08:00
  • 4e8ebc2897 debug: use slice Stale sort hanwang 2023-04-24 14:43:46 +08:00
  • d7e625bdae Unscoped on belongs_to association black 2023-04-23 20:51:30 +08:00
  • 59d4c98621 format black 2023-04-23 17:22:24 +08:00
  • 1bfa31fa7f work only on has association black 2023-04-23 17:15:30 +08:00
  • 7338637d88 Merge branch 'master' into unscoped_association black 2023-04-23 11:32:59 +08:00
  • 32fc201554
    fix: avoid coroutine leaks when the dialecter initialization fails. (#6249) Zhiheng Lin 2023-04-21 22:17:21 +08:00
  • b448319e2e
    Update tests_all.sh Jinzhu 2023-04-21 22:11:55 +08:00
  • ac20d9e222
    fix: unit test (#6250) black-06 2023-04-21 22:09:38 +08:00
  • 1944ce9d85 style: rename to adaptorSerializerModel black-06 2023-04-21 01:16:08 +00:00
  • 7a1c450bd9 fix create test black-06 2023-04-19 12:10:31 +00:00
  • 58bef30c52 modify name because mysql character is latin1 black-06 2023-04-19 11:42:28 +00:00
  • 76954ccc64 fix: unit test black-06 2023-04-19 10:59:31 +00:00
  • 3ec26ef442 fix: avoid coroutine leaks when the dialecter initialization fails. Kevin Lin 2023-04-19 18:02:48 +08:00
  • eb70c3a84c feat: unscoped association (#5899) black 2023-04-18 18:26:14 +08:00
  • 4bd8e59496
    chore(deps): bump github.com/lib/pq from 1.10.7 to 1.10.8 in /tests dependabot[bot] 2023-04-17 07:58:05 +00:00
  • d726059fd7
    chore(deps): bump gorm.io/driver/mysql from 1.4.7 to 1.5.0 in /tests dependabot[bot] 2023-04-17 07:58:00 +00:00
  • 05ef3fdf87
    chore(deps): bump gorm.io/driver/sqlserver from 1.4.2 to 1.4.3 in /tests dependabot[bot] 2023-04-17 07:57:56 +00:00
  • be0e3bfe7c
    chore(deps): bump gorm.io/driver/sqlite from 1.4.4 to 1.5.0 in /tests dependabot[bot] 2023-04-17 07:57:50 +00:00
  • 3972c2ae73 feat: SQLite3 uses memory to speed up CI 王柳洋 2023-04-12 23:43:29 +08:00
  • b6a03fa947 Avoid updating the go.mod file. John Mai 2023-04-12 20:46:17 +08:00
  • b067c10de6 Merge remote-tracking branch 'upstream/master' into f-table-comment-0411 John Mai 2023-04-11 23:10:41 +08:00
  • ab17848c53 feat: migrator support tableType.It like ColumnTypes John Mai 2023-04-11 22:45:15 +08:00
  • 13338381ca Added new feature - on soft delete, update additional fields from model/struct in the same update operation by using "updateOnSoftDelete" field tag Tabuci Octavian 2023-04-11 13:07:54 +03:00
  • e9637024d3 Update README v1.25.0 Jinzhu 2023-04-11 13:16:25 +08:00
  • 828e22b17f
    feat: support embedded preload (#6137) black-06 2023-04-11 13:10:38 +08:00
  • 4b0da0e97a
    fix cond in scopes (#6152) black-06 2023-04-11 12:01:23 +08:00
  • ccc3cb758a
    fix: many2many association with duplicate belongs to elem (#6206) bsmith-auth0 2023-04-10 20:06:13 -07:00
  • 97e2cc11da feat: migrator support table comment John Mai 2023-04-11 00:01:19 +08:00
  • 05bb9d6106
    refactor(migrator): non-standard codes (#6180) jessetang 2023-04-11 10:32:46 +08:00
  • 1d9f4b0f55
    chore(deps): bump actions/stale from 7 to 8 (#6190) dependabot[bot] 2023-04-11 10:27:05 +08:00
  • 59ca46db3c
    fix: limit(0).offset(0) return all data (#6191) hanwn 2023-04-11 10:25:47 +08:00
  • f0360dccbf
    fix: embedded should be nil if not exists (#6219) Cr 2023-04-11 10:13:25 +08:00
  • a2dda39b1f
    fix: embedded should be nil if not exists a631807682 2023-04-07 13:54:30 +08:00
  • f7b5934161 add method ken2403 2023-04-04 19:02:59 +09:00
  • 7df2931bbe fix: many2many association with duplicate belongs to elem bsmith 2023-03-31 15:26:04 -07:00
  • f3503275da issue #6098 mohammad ali ashraf 2023-03-28 18:57:50 +05:00
  • 037468e256 fix function comment Emanuele Rocco Petrone 2023-03-28 11:20:51 +02:00
  • 759b73e975 remove replace in go mod Emanuele Rocco Petrone 2023-03-28 11:18:52 +02:00
  • f2a4b5b587 added a replace for go module Emanuele Rocco Petrone 2023-03-28 11:16:06 +02:00
  • a90d464894 added SkipOutputStatement Emanuele Rocco Petrone 2023-03-28 11:08:13 +02:00
  • a12303e968 Add Shell script linter to GitHub Actions Ashish Bhatia 2023-03-28 01:27:35 -07:00
  • a24b7695d7 Add more code linters Ashish Bhatia 2023-03-28 01:23:51 -07:00
  • 28e0522993 fix: rename Db to DB Flc゛ 2023-03-28 15:06:01 +08:00
  • 0c769f86a2 fix: limit(0).offset(0) return all data hanwang 2023-03-27 17:34:48 +08:00
  • f3b3d63df2
    chore(deps): bump actions/stale from 7 to 8 dependabot[bot] 2023-03-27 07:58:05 +00:00
  • 212cf19d05 feat: Added DSN Flc゛ 2023-03-27 15:47:24 +08:00
  • 6aeb2b4c33 add ping method to satisy interface Nate Rockhold 2023-03-24 13:53:00 -05:00
  • 9ab440ca11 refactor(migrator): non-standard codes demoManito 2023-03-24 20:31:29 +08:00
  • b444011d09
    refactor: translatorError flag added for backward compatibility (#6178) Saeid Kanishka 2023-03-24 03:07:05 +01:00
  • 80259bb77c refactor: translatorError flag added for backward compatibility Saeid Saeidee 2023-03-23 20:19:53 +01:00
  • 5d1cdfef2e
    avoid starting a transaction when performing only one insert operation in CreateInBatches function (#6174) cyhone 2023-03-23 14:02:35 +08:00
  • 349957c54c fix execute scopes black 2023-03-23 13:00:26 +08:00
  • ddda8b4e17 avoid starting a transaction when performing only one insert operation in CreateInBatches function chenyahui 2023-03-23 11:32:12 +08:00
  • 1a7ea98ac5
    fix: count with group (#6157) (#6160) black-06 2023-03-23 11:19:53 +08:00
  • 0c7e575f19
    save should be idempotent #6139 (#6149) black-06 2023-03-23 11:18:57 +08:00
  • d2dd0ce4a7
    chore(deps): bump actions/setup-go from 3 to 4 (#6165) dependabot[bot] 2023-03-23 11:18:02 +08:00
  • 785a3e936d Fixed golangci-lint ktsivkov 2023-03-20 17:53:20 +01:00
  • 16f1168cdd Fixed tests' race condition for Easer and moved them to where they belong ktsivkov 2023-03-20 17:42:17 +01:00