Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

113
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!