Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

114
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda