X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..8c6b6947209752c97ae0feceb0d32496b5377c3d:/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 a95f15b4e..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[5.0] +class AddTermsSeenToUser < ActiveRecord::Migration[4.2] + class User < ApplicationRecord + end + def self.up add_column :users, :terms_seen, :boolean, :null => false, :default => false