summaryrefslogtreecommitdiffstats
path: root/db/migrate/20130710182539_add_queries_visibility.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130710182539_add_queries_visibility.rb')
-rw-r--r--db/migrate/20130710182539_add_queries_visibility.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20130710182539_add_queries_visibility.rb b/db/migrate/20130710182539_add_queries_visibility.rb
index d6cd1a7b3..36f298d11 100644
--- a/db/migrate/20130710182539_add_queries_visibility.rb
+++ b/db/migrate/20130710182539_add_queries_visibility.rb
@@ -1,4 +1,4 @@
-class AddQueriesVisibility < ActiveRecord::Migration
+class AddQueriesVisibility < ActiveRecord::Migration[4.2]
def up
add_column :queries, :visibility, :integer, :default => 0
Query.where(:is_public => true).update_all(:visibility => 2)