Jinzhu
|
ff985b90cc
|
Fix failed to guess relations for embedded types, close #3224
|
2020-08-04 12:25:34 +08:00 |
Jinzhu
|
f83b00d20d
|
Fix Count with Select when Model not specfied, close #3220
|
2020-08-03 10:30:25 +08:00 |
Jinzhu
|
2676fa4fb8
|
Remove autoincrement tag for join table, close #3217
|
2020-07-31 18:19:25 +08:00 |
lninl
|
7bb883b665
|
Auto creating/updating time with unix (milli) second (#3213)
* Auto creating/updating time with unix (milli) second
* add test for 'Auto creating/updating time with unix (milli) second'
|
2020-07-30 17:39:57 +08:00 |
Jinzhu
|
47a5196734
|
Fix uninitialized Valuer return time.Time, close #3214
|
2020-07-30 17:37:07 +08:00 |
Jinzhu
|
7c2ecdfc1c
|
Fix use pointer of Valuer as foreign key, close #3212
|
2020-07-30 10:23:35 +08:00 |
Jinzhu
|
2cbdd29f26
|
Returns error for invalid embedded field, close #3209
|
2020-07-29 10:23:14 +08:00 |
Jinzhu
|
7021db3655
|
Fix FieldsWithDefaultDBValue for primary field, close #3187
|
2020-07-22 19:03:19 +08:00 |
Jinzhu
|
ef002fd7ac
|
Add GORMDataType to Field, close #3171
|
2020-07-20 19:00:03 +08:00 |
Jinzhu
|
6dc583869b
|
Don't use value's first field to guess data type for struct implements GormDataTypeInterface
|
2020-07-17 12:02:00 +08:00 |
Jinzhu
|
4456df7a5d
|
Lint with golangci-lint
|
2020-07-16 11:27:12 +08:00 |
Jinzhu
|
0028246ea5
|
Don't set DefaultValueInterface when DefaultValue not set, close #3152
|
2020-07-16 10:19:24 +08:00 |
Jinzhu
|
bc3728a18f
|
Fix concurrent map writes, close #3126
|
2020-07-10 07:14:37 +08:00 |
Jinzhu
|
2ae0653af2
|
Fix ambiguous column when using same column name in join table, close #3120
|
2020-07-09 09:03:48 +08:00 |
Jinzhu
|
e1084e78d0
|
Allow customize AutoIncrement for primary field
|
2020-07-08 18:50:49 +08:00 |
Jinzhu
|
619cd332ec
|
Add index priority supports
|
2020-07-08 17:59:40 +08:00 |
Jinzhu
|
90a40361ed
|
Fix set bool field from null
|
2020-07-04 08:21:23 +08:00 |
Jinzhu
|
6b98ced13d
|
Fix set time field from null, close #3108
|
2020-07-04 07:45:07 +08:00 |
Jinzhu
|
d4f8a52442
|
Fix join table foreign key in snake_case
|
2020-07-04 07:24:46 +08:00 |
Jinzhu
|
2416eabd3f
|
Change unique_idnex to UniqueIndex
|
2020-07-04 00:36:27 +08:00 |
Jinzhu
|
fea181e87c
|
Test multiple index tags
|
2020-07-01 11:47:46 +08:00 |
Jinzhu
|
2d048d9ece
|
SingularTable for JoinTable
|
2020-06-30 07:29:15 +08:00 |
Jinzhu
|
2476c0fbb4
|
Set db type after autotime
|
2020-06-26 07:26:45 +08:00 |
Hinagiku Soranoba
|
b733d16f56
|
Create supports Array / ArrayPtr (#3076)
* add Array / ArrayPtr create tests
* support create using array
|
2020-06-23 14:38:36 +08:00 |
Jinzhu
|
e77e7bb842
|
Fix nested embedded field with pointer, close #3071
|
2020-06-23 09:12:57 +08:00 |
Jinzhu
|
d0764bead1
|
Test migrate with comment and check created constraints
|
2020-06-21 13:59:43 +08:00 |
Jinzhu
|
fee1e4aafd
|
Fix create foreign keys for many2many relations
|
2020-06-21 10:48:23 +08:00 |
Jinzhu
|
a1e35bdc94
|
Support merge batch data some having primary values
|
2020-06-20 16:52:15 +08:00 |
Jinzhu
|
4f19e2a7b3
|
Test ForeignKeyConstraints
|
2020-06-20 01:20:18 +08:00 |
Jinzhu
|
d4d339f3b5
|
Handle data type cases
|
2020-06-19 22:51:46 +08:00 |
Jinzhu
|
07960fe661
|
Fix []byte support
|
2020-06-18 11:24:08 +08:00 |
Jinzhu
|
96368eb967
|
Test embedded struct implements Scan & Value interface
|
2020-06-18 09:15:23 +08:00 |
Jinzhu
|
6b2f37189e
|
Fix few cases with postgres
|
2020-06-18 08:40:41 +08:00 |
Jinzhu
|
a954d772d7
|
Support customize gorm field type
|
2020-06-06 10:47:32 +08:00 |
Jinzhu
|
1490a062db
|
Refactor codebase and add benchmark test
|
2020-06-05 23:26:56 +08:00 |
Jinzhu
|
d50879cc28
|
Add field permission test
|
2020-06-05 19:18:22 +08:00 |
Jinzhu
|
b32658358c
|
Fix can't scan null value into normal data types
|
2020-06-03 09:00:20 +08:00 |
Jinzhu
|
94685d1024
|
Fix can't scan null value into normal data types
|
2020-06-02 23:30:26 +08:00 |
Jinzhu
|
2218e32999
|
Allow customize table name with TableName
|
2020-06-02 15:48:19 +08:00 |
Jinzhu
|
8bb05a5a69
|
Refactor tests files
|
2020-06-02 10:50:38 +08:00 |
Jinzhu
|
5790ba9ef4
|
Fix package path
|
2020-06-02 09:25:55 +08:00 |
Jinzhu
|
e986371a42
|
Rename package name
|
2020-06-02 09:18:01 +08:00 |
Jinzhu
|
5ecbf25b22
|
Drop table with CASCADE option
|
2020-06-02 07:56:53 +08:00 |
Jinzhu
|
b71171dd92
|
Add more preload tests
|
2020-06-02 01:34:00 +08:00 |
Jinzhu
|
e490e09db5
|
Add SetupJoinTable support
|
2020-06-01 23:58:22 +08:00 |
Jinzhu
|
1559fe24e5
|
Add more updates test
|
2020-06-01 19:41:33 +08:00 |
Jinzhu
|
76b8e78dcb
|
Add multi primary keys test
|
2020-06-01 08:13:16 +08:00 |
Jinzhu
|
befef0c9a9
|
Improve Hooks
|
2020-06-01 00:12:20 +08:00 |
Jinzhu
|
49310d0974
|
Test override foreign key, reference
|
2020-05-31 17:42:21 +08:00 |
Jinzhu
|
6d555ef8d5
|
Test embedded struct
|
2020-05-31 14:18:07 +08:00 |