开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜