blob: 1d2193469cc8986a7558045c0bff42161ee54cc4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
class ValidPeopleHaveLastNames < ActiveRecord::Migration::Current
def self.up
add_column "people", "last_name", :string
end
def self.down
remove_column "people", "last_name"
end
end
|