Commit Graph

13 Commits

Author SHA1 Message Date
Jinzhu e85b73e5a5 Fix nested Scopes, close #4196 2021-03-19 13:44:25 +08:00
Jinzhu 912360097a Fix Scopes with Migrator, close #4145 2021-03-11 10:36:14 +08:00
Jinzhu 26504f5cae Use NewDB to replace WithConditions for Session 2020-11-17 16:28:37 +08:00
Michelle 635dcc9ad4
add gorm ColumnType interface, remove sql one (#3647) 2020-10-21 18:35:33 +08:00
Jinzhu dbaa6b0ec3 Fix Scan struct with primary key, close #3357 2020-09-02 16:14:26 +08:00
Jinzhu cc6a64adfb Support smart migrate, close #3078 2020-08-23 18:16:12 +08:00
Jinzhu d0764bead1 Test migrate with comment and check created constraints 2020-06-21 13:59:43 +08:00
Jinzhu aaf0725771 Refactor for performance 2020-06-08 17:21:26 +08:00
Jinzhu d81179557d Add tests for Tables 2020-05-31 10:24:49 +08:00
Jinzhu fab7d96da5 Add DataTypeOf for dialector 2020-02-22 17:53:57 +08:00
Jinzhu 0801cdf164 Almost finish Migrator 2020-02-22 13:11:54 +08:00
Jinzhu 62dcd7896a Add Migrator 2020-02-20 23:04:03 +08:00
Jinzhu 8eae7e4ab9 Add migrator 2020-01-28 23:01:35 +08:00