Commit Graph

  • e1f46eb802
    fix: ignore nil query (#6021) v1.24.5 chyroc 2023-02-02 17:54:51 +08:00
  • 84224b7deb fix: ignore nil query chyroc 2023-02-02 17:37:33 +08:00
  • 4d6b70ec88 Allow modify statement from dest v1.24.4 Jinzhu 2023-02-02 17:15:08 +08:00
  • cfbcedbf03
    fix: support zeroValue tag on DeletedAt (#6011) qiankunli 2023-02-01 14:40:55 +08:00
  • 7d1fa91d48
    Update soft_delete.go Jinzhu 2023-02-01 14:35:45 +08:00
  • 79d4f0f6bd
    Update tests_test.go Jinzhu 2023-02-01 14:31:47 +08:00
  • e45a637ce1
    Update soft_delete_test.go Jinzhu 2023-02-01 14:31:14 +08:00
  • dec94259e7 feat: support tidb integration test Icemap 2023-02-01 14:00:23 +08:00
  • 80e7785499 fix: support zeroValue tag on DeletedAt qiankunli 2023-01-31 23:30:09 +08:00
  • 5bd20f3121 test: fixed broken tests Saeid Saeidee 2023-01-29 22:02:46 +01:00
  • 54af94146e test: removed the dependency Saeid Saeidee 2023-01-29 17:54:20 +01:00
  • 5563988ce8 feat: duplicated key error translator for different drivers Saeid Saeidee 2023-01-29 17:34:58 +01:00
  • d834dd60b7 Remove unnecessary code Jinzhu 2023-01-19 15:22:13 +08:00
  • b119137b85 fix: logger.Default use os.Stderr instead of os.Stdout #5975 hidu 2023-01-18 13:55:07 +00:00
  • dcafcc6cb3 fix update panic if has has hook chaojiang 2023-01-18 21:16:21 +08:00
  • 44da32cf6a fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 15:05:34 +08:00
  • 7b09589e09
    chore(deps): bump gorm.io/driver/sqlserver from 1.4.1 to 1.4.2 in /tests dependabot[bot] 2023-01-16 07:01:52 +00:00
  • 697839e94d fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 14:02:32 +08:00
  • 4df6056d9b fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:56:23 +08:00
  • 694cd49df5 fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:24:54 +08:00
  • db0978af99 fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:23:27 +08:00
  • 73e3e282dd fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:14:17 +08:00
  • f19c8b4865 fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:10:01 +08:00
  • 38aa424c0f fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 13:07:24 +08:00
  • d1b0547e68 fix(statement): The primary key type is not int, but string or uuid (#5984) 胡标 2023-01-16 11:09:23 +08:00
  • 0767b6c506 fix: issue #5752 Field should be unique but is not, causing unnecessary ALTER TABLE executions Hiram Chirino 2023-01-13 18:05:42 -05:00
  • 7ef179bbc6 feat: auto_random field isn't copyable Icemap 2023-01-13 16:40:54 +08:00
  • b087732174 revert: change mistake Icemap 2023-01-13 16:36:01 +08:00
  • ec850f8b60 feat: support auto_random Icemap 2023-01-13 16:27:35 +08:00
  • 3d35ddba55 Fix use table.* as select/omit columns Jinzhu 2023-01-12 16:52:17 +08:00
  • baf1afa1fc
    fix(schema): field is only unique when there is one unique index (#5974) Haibo 2023-01-11 14:05:39 +08:00
  • d2a855f91d fix(schema): field is only unique when there is one unique index Nomango 2023-01-11 13:01:06 +08:00
  • 9e13bb7cb2 fix(migrator) Tag uniqueIndex always causes a field migration #5957 kimi.wang 2023-01-04 16:58:03 +08:00
  • 2bc913787b support implicit table alias, close #5840 #5940 Jinzhu 2023-01-02 21:46:27 +08:00
  • 3d91802b1d Fix unexpected alter table in auto migration, close #5942, #5943 Jinzhu 2023-01-02 20:52:44 +08:00
  • b0e13d95b4 update github tests action Jinzhu 2023-01-01 22:27:49 +08:00
  • 4b768c8aff Upgrade tests deps v1.24.3 Jinzhu 2023-01-01 22:22:08 +08:00
  • 16a272209a
    fix(migrator): Tag default:'null' always causes field migration #5953 (#5954) Haibo 2023-01-01 22:14:28 +08:00
  • 6da192778c
    Update migrate_test.go Jinzhu 2023-01-01 22:09:25 +08:00
  • bac0e43501
    Update migrate_test.go Jinzhu 2023-01-01 21:57:37 +08:00
  • bab8ee5187
    Merge branch 'master' into fix_5953 Jinzhu 2023-01-01 21:42:48 +08:00
  • 2f714db29a
    Update migrate_test.go Jinzhu 2023-01-01 21:42:14 +08:00
  • da2b2861de
    fix(migrator): ignore relationships when migrating #5913 (#5946) Haibo 2023-01-01 19:54:28 +08:00
  • d722d30f81
    Merge branch 'go-gorm:master' into master Defoo Li 2022-12-31 18:55:14 +08:00
  • f95084369d fix(migrator): Tag default:'null' always causes field migration #5953 Nomango 2022-12-30 15:38:16 +08:00
  • 969e2a05e8 fix(migrator): ignore relationships when migrating #5913 Nomango 2022-12-27 14:20:53 +08:00
  • 7da24d1d52
    chore(deps): bump actions/stale from 6 to 7 (#5945) dependabot[bot] 2022-12-27 08:47:17 +08:00
  • 1d70a90647
    chore(deps): bump actions/stale from 6 to 7 dependabot[bot] 2022-12-26 07:02:34 +00:00
  • ddd3cc2502 Add ParameterizedQueries option support for logger, close #5288 Jinzhu 2022-12-25 11:37:23 +08:00
  • 9c5ca8130e Fix unexpected alter table in auto migration Defool 2022-12-24 22:04:19 +08:00
  • 794edad60e
    test(MigrateColumn): mock alter column to improve field compare (#5499) Cr 2022-12-24 17:42:16 +08:00
  • 89500f440a
    Update migrate_test.go Jinzhu 2022-12-24 17:36:41 +08:00
  • 0fb5abcfd3
    fix: support implicit table alias yaofeng-wang 2022-12-24 17:36:13 +08:00
  • 18f40cb700
    Update migrate_test.go Jinzhu 2022-12-24 12:30:24 +08:00
  • 1935eb0adb
    feat: support inner join (#5583) Cr 2022-12-24 12:27:38 +08:00
  • 19316c381e
    Update statement.go Jinzhu 2022-12-24 12:21:44 +08:00
  • 941f208534
    Merge branch 'master' into feat_join Jinzhu 2022-12-24 12:19:21 +08:00
  • 775fa70af5
    DryRun for migrator (#5689) Defoo Li 2022-12-24 12:14:23 +08:00
  • 011eeccd21
    Update migrator.go Jinzhu 2022-12-24 12:06:26 +08:00
  • ac9262f736
    Update migrator.go Jinzhu 2022-12-24 12:05:30 +08:00
  • bbd2bbe521
    fix:Issue migrating field with CURRENT_TIMESTAMP (#5906) Ning 2022-12-24 11:02:11 +08:00
  • f3c6fc2533
    Update func comments in chainable_api and FirstOr_ (#5935) Nate Armstrong 2022-12-23 00:51:01 -08:00
  • f154405c60 Update func comments in chainable_api and FirstOr_ Nate Armstrong 2022-12-22 20:15:58 -08:00
  • c7f668094a Improved WrapInTx error handling anton98i 2022-08-23 16:07:44 +02:00
  • 4ec73c9bf4
    Add test case for embedded value selects (#5901) Edward McFarlane 2022-12-19 04:49:05 +01:00
  • f6dc807794 Merge branch 'master' of github.com:jiangchangren/gorm jiangchangren 2022-12-17 14:38:10 +08:00
  • 519278fde7 fix fmt jiangchangren 2022-12-17 14:37:59 +08:00
  • 0a1ac5de23
    Merge branch 'go-gorm:master' into master jiangchangren 2022-12-17 10:44:35 +08:00
  • 2026177412 fix: save reflect err xutaiping 2022-12-12 21:47:29 +08:00
  • f812bb4b89 prepared statements failing to bind Tim Cassidy 2022-12-10 16:59:56 -08:00
  • bfdaf992d8 fix:Issue migrating field with CURRENT_TIMESTAMP ningfei 2022-12-07 12:05:03 +08:00
  • bb86abb588 Revert recycle struct optimisation to avoid pointer overwrites Edward McFarlane 2022-12-05 12:44:21 +00:00
  • a58159e00e Add test case for embedded value selects Edward McFarlane 2022-12-05 10:46:09 +00:00
  • d9525d4da4
    fix: skip append relation field to default db value (#5885) Cr 2022-12-01 20:26:59 +08:00
  • f931def33d
    clear code syntax (#5889) wjw1758548031 2022-12-01 20:25:53 +08:00
  • 4981881dc7 add private scanner for scan jiangchangren 2022-12-01 11:00:12 +08:00
  • 54e08a0edf clear code syntax wangjianwen 2022-11-28 15:23:09 +08:00
  • aba3d5b094
    chore: gofumpt style a631807682 2022-11-28 15:00:05 +08:00
  • eb134bbf33 clear code syntax wangjianwen 2022-11-28 10:50:46 +08:00
  • cd405c238d
    fix: relation field returning a631807682 2022-11-28 00:31:13 +08:00
  • 38e0458430 clean the grammar wangjianwen 2022-11-25 17:00:36 +08:00
  • f91313436a Fix group by with count logic Jinzhu 2022-11-21 11:10:56 +08:00
  • 342310fba4
    fix(FindInBatches): throw err if pk not exists (#5868) v1.24.2 Cr 2022-11-21 10:49:27 +08:00
  • b6836c2d3e
    fix bug in windows (#5844) kvii 2022-11-21 10:48:13 +08:00
  • 7ae5530a36 chore(deps): bump github.com/jinzhu/now from v1.1.4 to v1.1.5 L. Jiang 2022-11-20 12:18:02 +08:00
  • 879b1e02f6
    fix(FindInBatches): throw err if pk not exists a631807682 2022-11-17 16:24:33 +08:00
  • 897a93504d
    chore(deps): bump gorm.io/driver/mysql from 1.4.3 to 1.4.4 in /tests dependabot[bot] 2022-11-14 07:01:57 +00:00
  • cef3de694d
    cleanup(prepare_stmt.go): unnecessary map delete (#5849) jessetang 2022-11-13 11:12:09 +08:00
  • ed009c8372 cleanup(prepare_stmt.go): unnecessary map delete demoManito 2022-11-10 23:46:36 +08:00
  • b6efb3f74d test in unix like platform kvii 2022-11-10 20:38:36 +08:00
  • 1a0cb6ca29
    Merge branch 'go-gorm:master' into master kvii 2022-11-10 20:34:40 +08:00
  • 1b9cd56c53
    doc(README.md): add contributors (#5847) jessetang 2022-11-10 16:30:32 +08:00
  • ba791c8b56 Has many preload in chunks to avoid mssql parameter limit Daniel Hammerschmid 2022-11-09 15:06:15 +01:00
  • 9504d8c931 doc(README.md): add contributors demoManito 2022-11-09 15:49:15 +08:00
  • a38ee8d578 fix file name bug kvii 2022-11-07 22:13:34 +08:00
  • cf71c4fb6c fix bug in windows kvii 2022-11-05 12:56:06 +08:00
  • c90cafd05f fix bug in windows kvii 2022-11-05 12:32:56 +08:00
  • 9cf6c1be43 fix test in windows kvii 2022-11-05 12:07:40 +08:00
  • 871f1de6b9
    fix logger path bug (#5836) kvii 2022-11-05 11:52:08 +08:00
  • ed55c735e5 include separator to the end kvii 2022-11-05 11:21:21 +08:00