Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

111
Vistas
Upgrading Postgres from 9.3 to 9.6 changed the type of a column's default value

I am working on upgrading my application from Postgres 9.3 to 9.6. For the development environment I uninstalled 9.3 and installed 9.6.2, then imported my database. Since this is a Rails app, I have a db/structure.sql - I noticed after running migrations that there were a few differences in this file. Specifically the DEFAULT for a few columns went from type character varying to type text (however the column type itself did not change):

-rewards_tracker_type character varying DEFAULT 'rewards_tracker'::character varying, +rewards_tracker_type character varying DEFAULT 'rewards_tracker'::text,

I'm guessing this is because the default value is of a known length but would appreciate a non guess.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda