activeuuid:Rails中的二进制uuid键

时间:2021-04-14 05:47:06
【文件属性】:
文件名称:activeuuid:Rails中的二进制uuid键
文件大小:19KB
文件格式:ZIP
更新时间:2021-04-14 05:47:06
Ruby 活跃的 将binary(16) UUID添加到ActiveRecord。 例子 创建迁移 activeuuid将uuid类型添加到您的迁移中。 例子: class CreateEmails < ActiveRecord xss=removed> false do | t | t . uuid :id , :primary_key => true t . uuid :sender_id # belongs_to :sender t . string :subject t . text :body t . timestamp :sent_at t . timestamps end add_index :
【文件预览】:
activeuuid-master
----.gitignore(33B)
----README.mkd(4KB)
----.rspec(58B)
----gemfiles()
--------Gemfile.rails-4-0(82B)
--------Gemfile.rails-3-2(82B)
--------Gemfile.rails-4-2(82B)
--------Gemfile.rails-4-1(82B)
--------Gemfile.rails-head(93B)
--------Gemfile.rails-3-1(82B)
----LICENSE.md(1KB)
----.travis.yml(985B)
----spec()
--------support()
--------fabricators()
--------spec_helper.rb(1KB)
--------lib()
----lib()
--------activeuuid.rb(192B)
--------activeuuid()
----.rvmrc(32B)
----Gemfile(114B)
----Rakefile(139B)
----activeuuid.gemspec(1KB)

网友评论