Commit Graph

  • fb640cf7da
    test(utils): add utils unit test (#5834) jessetang 2022-11-05 08:38:14 +08:00
  • 5c8ecc3a2a
    feat: golangci add goimports and whitespace (#5835) jessetang 2022-11-05 08:37:37 +08:00
  • 113167a812 fix: remove table name alias from soft delete column (#5840) Robert Hafner 2022-11-04 17:12:43 -04:00
  • 2dd6140e7a
    feat(Scopes): restored the ability to set the model from Scopes SystemGlitch 2022-11-04 14:31:17 +01:00
  • 095e3e9d4c fix logger path bug kvii 2022-11-04 20:45:00 +08:00
  • 61adccbd17 feat: golangci add goimports and whitespace demoManito 2022-11-04 19:54:32 +08:00
  • 3df271759b
    feat(Scopes): make Schema and Table accessible from scopes SystemGlitch 2022-10-25 16:18:57 +02:00
  • 7dd70c9927 test(utils): add utils unit test demoManito 2022-11-04 16:09:17 +08:00
  • 04dc915cb7
    Merge branch 'master' into test_migrate_column Jinzhu 2022-11-03 21:18:57 +08:00
  • f82e9cfdbe
    test(clause/joins): add join unit test (#5832) jessetang 2022-11-03 21:03:13 +08:00
  • 86253004d9 test(clause/joins): add join unit test demoManito 2022-11-02 16:30:40 +08:00
  • b2f42528a4
    fix(Joins): args with select and omit (#5790) v1.24.1 Cr 2022-11-02 10:28:00 +08:00
  • 983443da0f
    Modify ToSQL function signature 打谷机 2022-11-01 19:37:29 +08:00
  • 784d8a1fa8 refresh cache store for read tableName สาธุชน ณุ 2022-10-31 15:01:16 +07:00
  • 788f400957 refresh cache store สาธุชน ณุ 2022-10-31 14:54:00 +07:00
  • c4ceaefa46
    feat(Scopes): make Schema and Table accessible from scopes SystemGlitch 2022-10-25 16:18:57 +02:00
  • 9cbd540f12
    chore(deps): bump gorm.io/driver/postgres from 1.4.4 to 1.4.5 in /tests dependabot[bot] 2022-10-24 07:11:11 +00:00
  • 3f26e60f07
    chore: gofumpt style a631807682 2022-10-20 14:56:04 +08:00
  • bcaac9eb18
    fix(Joins): args with select and omit a631807682 2022-10-20 14:45:26 +08:00
  • 9d82aa5673
    test: invalid cache plan with prepare stmt (#5778) Cr 2022-10-20 14:10:47 +08:00
  • ab216e89e9
    test: drop and rename column a631807682 2022-10-20 12:50:57 +08:00
  • b9f50de675
    test: more test cases a631807682 2022-10-19 20:23:58 +08:00
  • 4c5d727449
    Merge remote-tracking branch 'upstream/master' into test_invalid_cache_preprare a631807682 2022-10-19 15:08:09 +08:00
  • 5dd2bb4827
    feat(PreparedStmtDB): support reset (#5782) Cr 2022-10-19 14:46:59 +08:00
  • d679d620ca
    fix: delete one by one a631807682 2022-10-19 14:44:14 +08:00
  • 678adb3e2f
    test: fix test a631807682 2022-10-19 14:27:35 +08:00
  • 6ae2f6b00a
    fix: close all stmt a631807682 2022-10-19 14:21:07 +08:00
  • 638805ed62
    feat(PreparedStmtDB): support reset a631807682 2022-10-19 13:45:43 +08:00
  • 3f20a543fa Support use clause.Interface as query params Jinzhu 2022-10-18 18:01:55 +08:00
  • 62593cfad0 add test: TestAutoMigrateInt8PG: shouldn't execute ALTER COLUMN TYPE smallint, close #5762 viatoriche / Maxim Panfilov 2022-10-18 17:28:06 +08:00
  • a0f4d3f7d2 Save as empty string for not nullable nil field serialized into json Jinzhu 2022-10-18 16:25:39 +08:00
  • ab5f80a8d8 Save as NULL for nil object serialized into json Jinzhu 2022-10-18 15:44:47 +08:00
  • 186e8a9e14
    fix: association without pks (#5779) Cr 2022-10-18 11:58:42 +08:00
  • 14d625f5ee
    fix: association without pks a631807682 2022-10-18 10:11:28 +08:00
  • af8a53af32
    test: invalid cache plan with prepare stmt a631807682 2022-10-18 08:35:48 +08:00
  • 706912ec97 adding sqlserver, mysql to function Leandro Franciscato 2022-10-17 12:19:47 -03:00
  • 0b5404da32 adding function file Leandro Franciscato 2022-10-17 12:02:38 -03:00
  • 2a788fb20c Upgrade tests go.mod Jinzhu 2022-10-17 17:01:00 +08:00
  • aa4312ee74 Don't display any GORM related package path as source Jinzhu 2022-10-13 15:57:10 +08:00
  • 43ebd52837
    chore(deps): bump gorm.io/driver/mysql from 1.4.1 to 1.4.2 in /tests dependabot[bot] 2022-10-17 07:10:09 +00:00
  • f34ec76549 fix: block and arguments is not equal YangWenHang 2022-10-15 00:21:06 +08:00
  • 08aa2f9888 Update README Jinzhu 2022-10-14 20:30:28 +08:00
  • 146953fb3d add test: TestAutoMigrateInt8PG: shouldn't execute ALTER COLUMN TYPE smallint viatoriche / Maxim Panfilov 2022-10-14 11:58:58 +03:00
  • dd69f7d4c3
    Merge 560912d3498b48d4c680a21c4ba7149b67ee97b8 into 2c56954cb12dd33fc8f1875a735091d61daff702 Viator 2022-10-14 08:26:00 +00:00
  • 560912d349 add test: update: TestAutoMigrateInt8PG viatoriche / Maxim Panfilov 2022-10-14 11:25:46 +03:00
  • f320b86057 Merge branch 'master' of github.com:viatoriche/gorm viatoriche / Maxim Panfilov 2022-10-14 11:24:18 +03:00
  • 0f51c59f13 add test: update: TestAutoMigrateInt8PG viatoriche / Maxim Panfilov 2022-10-14 11:15:29 +03:00
  • c5e6119e94 add test: postgres: AutoMigrate: unneeded ALTER COLUMN TYPE smallint viatoriche / Maxim Panfilov 2022-06-27 21:06:43 +03:00
  • 4c09431168
    chore(deps): bump gorm.io/driver/sqlserver from 1.4.0 to 1.4.1 in /tests dependabot[bot] 2022-10-10 07:08:13 +00:00
  • b9e809d1fe
    chore(deps): bump gorm.io/driver/sqlite from 1.4.1 to 1.4.2 in /tests dependabot[bot] 2022-10-10 07:08:09 +00:00
  • 2c56954cb1 tests mariadb with returning support Jinzhu 2022-10-08 20:48:22 +08:00
  • fe70f818ad
    Rm %v string at non Errorf log Remco 2022-10-08 13:54:03 +02:00
  • e93dc3426e Test postgres autoincrement check Jinzhu 2022-10-08 17:16:32 +08:00
  • 983e96f142 Add tests for alter column type Jinzhu 2022-10-08 16:04:57 +08:00
  • 34fbe84580 Add TableName with NamingStrategy support, close #5726 v1.24.0 Jinzhu 2022-10-07 21:18:37 +08:00
  • e8f48b5c15
    fix: limit=0 results (#5735) (#5736) robhafner 2022-10-07 08:14:14 -04:00
  • a6310209bd
    Update migrate_test.go Jinzhu 2022-10-07 18:34:29 +08:00
  • 3cba21c1df
    Update migrate_test.go Jinzhu 2022-10-07 18:31:46 +08:00
  • 4b22a55a75
    fix: primaryFields are overwritten (#5721) jesse.tang 2022-10-07 18:29:28 +08:00
  • 9564b82975
    Fix OnConstraint builder (#5738) Wen Sun 2022-10-07 14:46:20 +09:00
  • 0c7453ef30
    Fix OnConstraint builder Wendell Sun 2022-10-05 03:16:33 +09:00
  • 50f6934033 fix: limit=0 results (#5735) Robert Hafner 2022-10-03 15:09:50 -04:00
  • 76941f3538 fix: primaryFields are overwritten demoManito 2022-10-03 21:48:00 +08:00
  • 02b48e6798
    Merge branch 'master' into test_migrate_column Jinzhu 2022-09-30 18:15:17 +08:00
  • 0b7113b618
    fix: prepare deadlock (#5568) Cr 2022-09-30 18:13:36 +08:00
  • 305ed725e2
    Merge branch 'master' into fix_prepare Jinzhu 2022-09-30 17:21:52 +08:00
  • a3cc6c6088 Fix: wrong value when Find with Join with same column name, close #5723, #5711 Stephano George 2022-09-30 17:18:42 +08:00
  • be440e7512
    fix possible nil panic in tests (#5720) jesse.tang 2022-09-30 11:14:34 +08:00
  • e1dd0dcbc4
    chore(deps): bump actions/stale from 5 to 6 (#5717) dependabot[bot] 2022-09-30 11:13:01 +08:00
  • 5720f7d515 feat: add force method for namer qqxhb 2022-09-28 21:03:58 +08:00
  • b4490de97e Fix: Wrong value when Find with JOIN and same column name (#5711) Stephano George 2022-09-27 17:13:14 +08:00
  • 69a685b7f5 reset code demoManito 2022-09-26 23:02:27 +08:00
  • e19dac065e fix maybe nil panic demoManito 2022-09-26 23:01:38 +08:00
  • 7d0f88976c style fmt import order demoManito 2022-09-26 22:55:10 +08:00
  • a6eb6723f3 fix test demoManito 2022-09-26 19:41:29 +08:00
  • c20ca7a969 fix test demoManito 2022-09-26 18:49:57 +08:00
  • 1dfd1b3ae5 fix test demoManito 2022-09-26 18:31:01 +08:00
  • 2ee53580ac Support the use of clause.Expression to return conditional statements demoManito 2022-09-26 17:24:28 +08:00
  • 553a7c5a9b
    chore(deps): bump actions/stale from 5 to 6 dependabot[bot] 2022-09-26 07:09:50 +00:00
  • bcfcdc2825 Modify gorm.io ref Bruce Wang 2022-09-26 12:39:10 +08:00
  • 328f301982
    add some test case which related the logic (#5477) v1.23.10 Nguyen Huu Tuan 2022-09-22 17:35:21 +07:00
  • 12237454ed fix: use preparestmt in trasaction will use new conn, close #5508 kinggo 2022-09-22 16:47:31 +08:00
  • 73bc53f061
    feat: migrator support type aliases (#5627) Cr 2022-09-22 15:56:32 +08:00
  • 101a7c789f
    fix: scan array (#5624) Cr 2022-09-22 15:51:47 +08:00
  • 3d57f8ecf7
    Merge branch 'master' into fix_scan_array Jinzhu 2022-09-22 15:46:29 +08:00
  • 3a72ba102e Allow shared foreign key for many2many jointable Jinzhu 2022-09-21 17:29:38 +08:00
  • 1f634c3937
    support scan assign slice cap (#5634) jesse.tang 2022-09-22 14:50:35 +08:00
  • ca4fcb94c0
    perf: check type a631807682 2022-09-22 12:06:54 +08:00
  • 311b852cfd
    Merge branch 'master' into feat_type_aliases a631807682 2022-09-22 12:01:24 +08:00
  • e2ed529b33
    Merge branch 'master' into fix_scan_array a631807682 2022-09-22 11:59:06 +08:00
  • 5ed7b1a65e
    fix: same embedded filed name (#5705) Cr 2022-09-22 11:25:03 +08:00
  • 118a3f469e Allow shared foreign key for many2many jointable allow_shared_foreign_key Jinzhu 2022-09-21 17:29:38 +08:00
  • 48370149b1
    fix: same embedded filed name a631807682 2022-09-20 15:37:13 +08:00
  • 4a325db608
    chore(deps): bump gorm.io/driver/postgres from 1.3.8 to 1.3.10 in /tests dependabot[bot] 2022-09-19 07:10:41 +00:00
  • c035852cb1 DryRun for migrator Defool 2022-09-11 21:36:24 +08:00
  • 490625981a
    fix: update omit (#5699) v1.23.9 qqxhb 2022-09-16 15:02:44 +08:00
  • 0f85e6a3a0 fix: update omit qqxhb 2022-09-16 14:46:48 +08:00
  • 9d4ea5135a #5635 when setting Config.DryRunMigration, AutoMigrate() returns an error before changing schemas. Googol Lee 2022-08-25 15:49:49 +02:00
  • edb00c10ad
    AutoMigrate() should always migrate checks, even there is no relationship constraints. (#5644) Googol Lee 2022-09-14 04:26:51 +02:00
  • 3b21c5a651
    chore(deps): bump github.com/lib/pq from 1.10.6 to 1.10.7 in /tests dependabot[bot] 2022-09-12 07:14:25 +00:00