X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..6e5e25736631c1b3f8980bdb5ab5bdbdd69f0843:/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