Commit Graph

32 Commits

Author SHA1 Message Date
Sergey Lanzman 37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
astaxie c697b98006 enhancement 2016-09-01 23:28:34 +08:00
astaxie 56aa224a6e simplfy the code 2016-08-31 22:47:31 +08:00
astaxie 8c37a07adb optimize the ORM 2016-08-31 00:07:19 +08:00
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
miraclesu 85f55fcb41 orm: inline struct support 2016-02-24 18:46:14 +08:00
astaxie 25bec8bbe9 Merge pull request #1381 from ADone/m2m_reverse_bug
fix #671
2015-11-04 23:20:22 +08:00
astaxie 68ec133aa8 golint orm 2015-09-12 21:46:43 +08:00
Artem Nistratov 5612f61a93 fix #671 2015-07-08 17:42:00 +03: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 e4988b714e Add property colDefault to fieldInfo object, set its true if there is
orm configuration default `orm:"default(1)"`
2014-10-17 12:27:53 +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 0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
FuXiaoHei 828a306069 add comments for orm package, done 2014-01-17 23:28:54 +08:00
slene 1d44018128 orm fix for support custom field 2013-11-02 00:50:08 +08:00
slene d043ebcdd3 orm support complete m2m operation api / auto load related api 2013-10-14 22:31:35 +08:00
slene 7c72b2dca7 orm fix syncdb 2013-08-25 11:35:12 +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
slene 618cbf1e66 orm string type default will use varchar(255) 2013-08-16 22:24:10 +08:00
slene c81bbf9801 orm now use a filed named `Id` as default auto primary key, you can ignore `orm:"auto"` setting 2013-08-16 21:57:39 +08:00
slene 27b84841a7 orm add full regular go type support, such as int8, uint8, byte, rune. add date/datetime timezone support very well. 2013-08-13 17:17:19 +08:00
slene f2b359d8e8 orm full remove orm.Manager for simple use, add struct tag `-` for skip struct field 2013-08-09 20:14:18 +08:00
slene 46668b811f some fix / add test 2013-08-07 19:11:44 +08:00
slene 2c5e062c2b some fix 2013-07-31 22:11:22 +08:00
slene bce35c708a init orm project, beta, unstable 2013-07-30 20:32:38 +08:00