Sha256: 84cbd4ed9cb769ae8eea37f00e0128e16688d4d960338511ebc5331fd40da27d
Contents?: true
Size: 397 Bytes
Versions: 36
Compression:
Stored size: 397 Bytes
Contents
class ChangeSatisUserData < ActiveRecord::Migration[7.0] disable_ddl_transaction! def change change_column :satis_user_data, :data, :jsonb, null: true, default: {} change_column :satis_user_data, :user_id, :uuid, null: true, foreign_key: true remove_index :satis_user_data, [:key] add_index :satis_user_data, [:user_id, :key], unique: true, algorithm: :concurrently end end
Version data entries
36 entries across 36 versions & 1 rubygems