X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..4af54ce93bd01a4094a4657cf9e54860a7e16bb2:/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 3cab89652..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 +class AddTermsSeenToUser < ActiveRecord::Migration[4.2] + class User < ApplicationRecord + end + def self.up add_column :users, :terms_seen, :boolean, :null => false, :default => false