]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20110322001319_add_terms_seen_to_user.rb
Use Activerecord '#or' method for queries
[rails.git] / db / migrate / 20110322001319_add_terms_seen_to_user.rb
index 3cab896522b5eebe456528950ab6f36ccf5c2c57..824eaceb06f346415473654fddf4a75ae56a113d 100644 (file)
@@ -1,4 +1,7 @@
-class AddTermsSeenToUser < ActiveRecord::Migration
+class AddTermsSeenToUser < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
+
   def self.up
     add_column :users, :terms_seen, :boolean, :null => false, :default => false