03 Jan '18, 10pm

RailsのモデルIDにUUIDを使う(翻訳) https://t.co/e6AwlUh4xi

class AddNewTable < ActiveRecord::Migration[5.1] def change create_table :related_model do |t| t.references :other, type: :uuid, index: true end end end

Full article: https://techracho.bpsinc.jp/hachi8833/2018_01_04/50565

Tweets