Allow use number as column name (#1517)
Allow use number as column name (#1517)

* Updated scope.go to always quote when adding index

I am using numbers for column names (to be compatible with protobuf) and adding unique index to them does not work since they are not quoted. I do not see a reason to check if the column name is a string in order to quote it. Correct me if I am wrong.

* Updated the columnRegexp to include decimals

* Update scope.go

ModelRocket/gorm,jinzhu/gorm,ulule/gorm,sunfmin/gorm,ulule/gorm,ModelRocket/gorm,sunfmin/gorm,jinzhu/gorm