lib/generators/reso/templates/create_addresses.rb in reso-0.1.0.1 vs lib/generators/reso/templates/create_addresses.rb in reso-0.1.0.2
- old
+ new
@@ -5,10 +5,10 @@
t.references :addressable, index: true
t.integer :preference_order, default: 1
t.integer :address_preference_order, default: 1
t.string :full_street_address
- t.integer :street_number
+ t.integer :street_number, limit: 8
t.string :street_dir_prefix
t.string :street_name
t.string :street_suffix
t.string :street_dir_suffix
t.string :street_additional_info
\ No newline at end of file