Commit 9babe35b50bf972785a4afc81c7894b4bacc762d
1 parent
3c15c1c0
Exists in
master
and in
29 other branches
Fixing migration to work on postgres
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 | ... | ... |