Joel Trost
|
f79e1a2ef6
|
GORM support for MSSQL, passes all tests
|
2014-09-16 14:21:35 -07:00 |
Jinzhu
|
facd84deec
|
Quote table name when order by primary key
|
2014-09-13 16:11:49 +08:00 |
Jinzhu
|
88858a942e
|
Update README
|
2014-09-12 16:40:55 +08:00 |
Jinzhu
|
0f3a9a8d02
|
Support include struct type in the foreign key to avoid ambiguous
|
2014-09-08 11:19:25 +08:00 |
Jinzhu
|
1ad419004f
|
Merge pull request #220 from tschaub/patch-1
Code example fix in readme
|
2014-09-07 08:09:10 +08:00 |
Tim Schaub
|
09d3c5dff0
|
Match case from above
|
2014-09-05 15:00:26 -06:00 |
Jinzhu
|
58ff124210
|
Fix messages for remove, replace callbacks
|
2014-09-02 20:13:00 +08:00 |
Jinzhu
|
59846f0e9b
|
Fix tests for association
|
2014-09-02 20:10:18 +08:00 |
Jinzhu
|
953c347ba7
|
Refactor Scope
|
2014-09-02 19:03:01 +08:00 |
Jinzhu
|
9c7ff3d211
|
Don't show duplicated replacing callback message
|
2014-09-01 17:32:11 +08:00 |
Jinzhu
|
b6d934aff9
|
Improve HasColumn method, support embedded struct
|
2014-09-01 17:04:07 +08:00 |
Jinzhu
|
7862dace6b
|
Don't panic if can't get address
|
2014-09-01 14:15:29 +08:00 |
Jinzhu
|
204356b320
|
Update README
|
2014-08-30 23:24:09 +08:00 |
Jinzhu
|
c6b1669c6a
|
Fix tests for Scanner
|
2014-08-30 23:14:14 +08:00 |
Jinzhu
|
6271cf0e55
|
Fix tests for postgres
|
2014-08-30 22:39:28 +08:00 |
Jinzhu
|
e9ecf9c1aa
|
Fix HasTable tests
|
2014-08-30 21:43:52 +08:00 |
Jinzhu
|
471eda5a12
|
Panic if found duplicated column name
|
2014-08-30 21:42:35 +08:00 |
Jinzhu
|
f984bc8515
|
Refact code
|
2014-08-30 21:42:35 +08:00 |
Jinzhu
|
d806b7084f
|
Pass anonymous struct tests
|
2014-08-30 21:42:35 +08:00 |
Jinzhu
|
b2360c11da
|
Add Fields for embedded struct
|
2014-08-30 21:42:35 +08:00 |
Jinzhu
|
ecc23e4432
|
Merge pull request #211 from rbg/master
Fix the HasTable test, for real.
|
2014-08-29 22:58:35 +08:00 |
Robert B Gordon
|
bc616fafbf
|
Fix the HasTable test, for real.
|
2014-08-29 09:53:12 -05:00 |
Jinzhu
|
43be73504f
|
Merge pull request #210 from rbg/master
HasTable Test should clean up.
|
2014-08-29 22:30:19 +08:00 |
Robert B Gordon
|
52de7419f2
|
HasTable Test should clean up.
|
2014-08-29 08:57:38 -05:00 |
Jinzhu
|
80b563e312
|
Merge pull request #209 from rbg/master
Add HasTable()
|
2014-08-29 13:57:20 +08:00 |
Robert B Gordon
|
4ee47c9228
|
add test for HasTable()
|
2014-08-29 00:51:45 -05:00 |
Robert B Gordon
|
94aa843830
|
Add HasTable()
|
2014-08-29 00:28:54 -05:00 |
Jinzhu
|
2d125e035c
|
Fix check postgres has table
|
2014-08-29 06:22:59 +08:00 |
Jinzhu
|
423d9496c1
|
update tests
|
2014-08-28 16:14:44 +08:00 |
Jinzhu
|
e6715ce175
|
Merge pull request #208 from longnguyen11288/patch-1
Fixed spelling error
|
2014-08-28 10:44:12 +08:00 |
Long Nguyen
|
4fa2faf64c
|
Fixed spelling error
|
2014-08-27 12:56:25 -04:00 |
Jinzhu
|
8f22434ded
|
Use the original DB when create a new Scope
|
2014-08-27 16:50:22 +08:00 |
Jinzhu
|
5347765bd3
|
Merge pull request #206 from cihangir/master
gorm: added ability to change the time.now format
|
2014-08-27 16:19:55 +08:00 |
Jinzhu
|
0ed805099e
|
Fix register callbacks in some cases
|
2014-08-27 16:10:33 +08:00 |
Jinzhu
|
922395c965
|
Add InstantSet for DB
|
2014-08-25 17:10:46 +08:00 |
Jinzhu
|
3af077ac46
|
Refact First, Last to make it possible to reset table name in Plugin
|
2014-08-25 16:41:26 +08:00 |
Cihangir SAVAS
|
4e90fbf4e8
|
gorm: added ability to change the time.now format
|
2014-08-23 01:00:04 -07:00 |
Jinzhu
|
39ac95adbb
|
Add InstanceSet, InstanceGet fomr Scope
|
2014-08-20 17:05:02 +08:00 |
Jinzhu
|
9012c9ea09
|
Add Set, Get method for DB
|
2014-08-20 16:25:01 +08:00 |
Jinzhu
|
a80a0a1636
|
By default, pluralize table name
|
2014-08-20 13:46:10 +08:00 |
Jinzhu
|
14fdbdd965
|
AutoMigrate accepts structs
|
2014-08-20 11:56:39 +08:00 |
Jinzhu
|
10668ee323
|
Don't raise error when get TableName even Scope has no db
|
2014-08-20 10:49:48 +08:00 |
Jinzhu
|
07e2d49b22
|
Fix invalid reflect value
|
2014-08-15 11:14:33 +08:00 |
Jinzhu
|
febc826511
|
Don't check relations if field is ignored
|
2014-08-14 21:54:23 +08:00 |
Jinzhu
|
131b504941
|
Merge pull request #184 from shirou/master
Add DropTableIfExists
|
2014-08-06 16:42:03 +08:00 |
Shirou WAKAYAMA
|
b4fc3d9753
|
add document about DropTableIfExists.
|
2014-08-05 23:16:22 +09:00 |
Shirou WAKAYAMA
|
5ad9306146
|
Add DropTableIfExists.
|
2014-08-05 23:14:40 +09:00 |
Jinzhu
|
ffab2d3901
|
I am not using Guard for testing now
|
2014-08-05 10:44:25 +08:00 |
Jinzhu
|
4d98c8c0bc
|
Specify database dialect when open database, fixes #169
|
2014-08-05 10:34:41 +08:00 |
Jinzhu
|
943a873051
|
Merge pull request #183 from bruston/errorf
Use fmt.Errorf
|
2014-08-05 10:14:25 +08:00 |