开发者

what datatype to use when I want to do bit work in Rails?

开发者 https://www.devze.com 2023-01-22 04:23 出处:网络
I want to create a security 开发者_如何转开发field in the column, which will be used to do bit \'banging\'

I want to create a security 开发者_如何转开发field in the column, which will be used to do bit 'banging'

what data type should I use in my migration?


Rails doesn't have any special support for that. You should use integer, may be with :limit => 8

0

精彩评论

暂无评论...
验证码 换一张
取 消