X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/38640e0253e8984974d275f2c232eb057ba86c84..4596fa9420621e717d90782937aa3f0bee290964:/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..f41782d37 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 < ActiveRecord::Base + end + def self.up add_column :users, :terms_seen, :boolean, :null => false, :default => false