obdev/db/migrate/20240123235419_add_name_fie...

7 lines
174 B
Ruby

class AddNameFieldsToWorkers < ActiveRecord::Migration[7.1]
def change
add_column :workers, :first_name, :string
add_column :workers, :last_name, :string
end
end