mirror of
				https://github.com/beego/bee.git
				synced 2025-10-26 13:43:50 +00:00 
			
		
		
		
	Added MySQL year data type
This commit is contained in:
		| @@ -101,6 +101,7 @@ var typeMappingMysql = map[string]string{ | ||||
| 	"decimal":            "float64", | ||||
| 	"binary":             "string", // binary | ||||
| 	"varbinary":          "string", | ||||
| 	"year":               "int16", | ||||
| } | ||||
|  | ||||
| // typeMappingPostgres maps SQL data type to corresponding Go data type | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carlos Salguero
					Carlos Salguero