Sha256: 167b2fb9443201fc921161fb7be7bab6a65858495fc2d6d8bdbd890bf1f0dd13
Contents?: true
Size: 230 Bytes
Versions: 8
Compression:
Stored size: 230 Bytes
Contents
class AddAreaUnitToProp < ActiveRecord::Migration[5.0] # https://www.sitepoint.com/enumerated-types-with-activerecord-and-postgresql/ def change add_column :pwb_props, :area_unit, :integer, default: 0, index: true end end
Version data entries
8 entries across 8 versions & 1 rubygems