Skip to content

Instantly share code, notes, and snippets.

@Fernan2
Last active January 17, 2017 19:30
Show Gist options
  • Save Fernan2/f17ac5c56b3420e16fd63b7347829cff to your computer and use it in GitHub Desktop.
Save Fernan2/f17ac5c56b3420e16fd63b7347829cff to your computer and use it in GitHub Desktop.
Enumerados en Rails y Postgres 3
class AddFinalidadToPrestamos < ActiveRecord::Migration
def change
add_column :prestamos, :finalidad, :finalidad_prestamo
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment