Sha256: daba4cb0d25a85ff69742e41358dcd2ffae59a0bc532008a267c45a5029fd092
Contents?: true
Size: 359 Bytes
Versions: 30
Compression:
Stored size: 359 Bytes
Contents
# typed: true class AddSerializedToWizards < ActiveRecord::Migration[6.0] def change add_column :wizards, :owl_results, :text # Hash add_column :wizards, :newt_subjects, :text # generic add_column :wizards, :pets, :text # Array add_column :wizards, :patronus_characteristics, :text # serialized as JSON, but not a JSON column type end end
Version data entries
30 entries across 16 versions & 1 rubygems