Commit 9babe35b50bf972785a4afc81c7894b4bacc762d

Authored by Daniela Feitosa
1 parent 3c15c1c0

Fixing migration to work on postgres

db/migrate/20120710062802_fill_is_template_field_on_basic_templates.rb
1 1 class FillIsTemplateFieldOnBasicTemplates < ActiveRecord::Migration
2 2 def self.up
3   - update("update profiles set is_template = (1==1) where identifier like '%_template'")
  3 + update("update profiles set is_template = (1=1) where identifier like '%_template'")
4 4 end
5 5  
6 6 def self.down
... ...