Files
grecia/db/migrate/20190430003908_add_postal_code_to_signatures.rb
Javi Martín 765d405df1 Use Rails 5 conventions in migrations and models
We forgot to add these changes to pull requests which were in
development before we upgraded to Rails 5.

We're also moving the rubocop rules to the basic files, so we're
notified when we inherit from `ActiveRecord::Base`.
2019-08-07 13:53:27 +02:00

6 lines
136 B
Ruby

class AddPostalCodeToSignatures < ActiveRecord::Migration[4.2]
def change
add_column :signatures, :postal_code, :string
end
end