X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..a32b726dc64a7fb4b997fef7b57cb558ec82689f:/db/migrate/20110322001319_add_terms_seen_to_user.rb diff --git a/db/migrate/20110322001319_add_terms_seen_to_user.rb b/db/migrate/20110322001319_add_terms_seen_to_user.rb index 729048bb2..824eaceb0 100644 --- a/db/migrate/20110322001319_add_terms_seen_to_user.rb +++ b/db/migrate/20110322001319_add_terms_seen_to_user.rb @@ -1,4 +1,7 @@ class AddTermsSeenToUser < ActiveRecord::Migration[4.2] + class User < ApplicationRecord + end + def self.up add_column :users, :terms_seen, :boolean, :null => false, :default => false