diff --git a/db/migrate/20120710062802_fill_is_template_field_on_basic_templates.rb b/db/migrate/20120710062802_fill_is_template_field_on_basic_templates.rb index 887060b..2a325f5 100644 --- a/db/migrate/20120710062802_fill_is_template_field_on_basic_templates.rb +++ b/db/migrate/20120710062802_fill_is_template_field_on_basic_templates.rb @@ -1,6 +1,6 @@ class FillIsTemplateFieldOnBasicTemplates < ActiveRecord::Migration def self.up - update("update profiles set is_template = (1==1) where identifier like '%_template'") + update("update profiles set is_template = (1=1) where identifier like '%_template'") end def self.down -- libgit2 0.21.2