Sha256: 16406230044bf4bfb7915342ebc7e07016530afd3e05dad7c1b1aebb83fe9832
Contents?: true
Size: 360 Bytes
Versions: 2
Compression:
Stored size: 360 Bytes
Contents
# typed: false class AddSerializedToWizards < ActiveRecord::Migration[5.1] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sorbet-rails-0.7.4 | spec/support/v5.1/db/migrate/20190620000015_add_serialized_to_wizards.rb |
sorbet-rails-0.7.3 | spec/support/v5.1/db/migrate/20190620000015_add_serialized_to_wizards.rb |