· software
UUID 在 Rails + SQLite 中不应该这么难(于是我写了一个 gem)
TL;DR – 在 Rails + SQLite 应用中使用 UUID / ULID,ruby Gemfile 中 gem 'sqlite_crypto',ruby 迁移 create_table :users, id: :uuid do |t| t.string :email t.timestamp ...
TL;DR – 在 Rails + SQLite 应用中使用 UUID / ULID,ruby Gemfile 中 gem 'sqlite_crypto',ruby 迁移 create_table :users, id: :uuid do |t| t.string :email t.timestamp ...