1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 20:40:54 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
miraclesu
5185816942 orm: use text as postgres default type 2016-04-12 21:19:43 +08:00
miraclesu
99f1e6c8b5 orm: fix golint 2016-04-12 11:00:31 +08:00
miraclesu
657744efb1 orm: add json & jsonb type support 2016-04-12 11:00:31 +08:00
Ivan Cadri
d49c7f96cb added functionality for column type time
updated the model_fields to cater for the time field type
2016-04-03 16:58:19 +02:00
astaxie
7dbeb2c39a fix the default value 2016-01-15 08:43:02 +08:00
astaxie
7fbaf82897 fix #1424 2016-01-04 22:10:18 +08:00
Pelle Johnsen
cfcce4f5dc Fix handling of rel(fk) to model with string pk 2015-09-22 12:23:51 +02:00
astaxie
68ec133aa8 golint orm 2015-09-12 21:46:43 +08:00
supar
1a1b0c14b9 Add attribute default to the column on create or alter commands. Skip columns which are keys and date or time data type 2014-11-06 17:43:53 +03:00
astaxie
767083bd56 Revert "Add column default attribute" 2014-10-24 14:58:17 +08:00
supar
ab28edaf25 Fix comma in the switch, fix wronf function name 2014-10-17 13:02:18 +04:00
supar
04431a7a15 Fix function name fmt.Stprintf -> fmt.Sprintf 2014-10-17 12:59:24 +04:00
supar
b00c42b3df Fix undefind variable fieldType 2014-10-17 12:56:44 +04:00
supar
4cae7af3f9 Add attribute DEFAULT '' to the CREAT, ALTER constructors 2014-10-17 12:53:59 +04:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
17a9c3c3a9 ORM:revert default value 2014-07-01 09:30:08 +08:00
astaxie
34936dde35 Merge branch 'master' into develop 2014-06-30 23:50:45 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
Bin Wang
7b7a95677a Generate default value while run ORM cmd tool 2014-06-22 10:52:14 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
傅小黑
f5a5ebe16b add comments for orm packages, part 1 2014-01-17 17:04:15 +08:00
slene
d043ebcdd3 orm support complete m2m operation api / auto load related api 2013-10-14 22:31:35 +08:00
slene
a616087cde orm now can specify engine for mysql. add api SetMaxIdleConns/SetMaxOpenConns(go 1.2) 2013-09-16 09:50:32 +08:00
slene
49bbca0ce3 orm Improve syncdb 2013-08-27 12:33:27 +08:00
slene
6686d9235c orm fix create index 2013-08-25 13:50:50 +08:00
slene
7c72b2dca7 orm fix syncdb 2013-08-25 11:35:12 +08:00
slene
4c061feddf orm support custom multi unique / index 2013-08-22 21:19:58 +08:00
slene
94f7ba8bdf orm add uint uint32 uint64 auto increment support 2013-08-22 18:35:26 +08:00
slene
c38abf35da orm support auto create db 2013-08-19 22:37:39 +08:00