programandoarg/pg_rails

View on GitHub
pg_engine/db/migrate/20240305200900_nombre_user.rb

Summary

Maintainability
A
0 mins
Test Coverage
class NombreUser < ActiveRecord::Migration[7.1]
  def change
    add_column :users, :nombre, :string, null: false
    add_column :users, :apellido, :string, null: false
  end
end