Skip to content

Commit

Permalink
Adds b_params, bike_codes, bulk_imports, and skipped tables
Browse files Browse the repository at this point in the history
  • Loading branch information
gadogado committed Mar 1, 2019
1 parent a5fbadd commit 5273047
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions db/migrate/20190301200609_adds_comments_for_anonymization.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
class AddsCommentsForAnonymization < ActiveRecord::Migration
def change
# - skipped
# change_table :ads
# change_table :bike_organizations
# change_table :blogs
# change_table :cgroups
# change_table :colors


change_table :bikes do |t|
t.change_comment :name, "anon: lorem_word"
t.change_comment :serial_number, "anon: ugcid"
Expand All @@ -11,6 +19,25 @@ def change
t.change_comment :all_description, "anon: ugcid"
t.change_comment :stolen_lat, "anon: latitude"
t.change_comment :stolen_long, "anon: longitude"
t.change_comment :thumb_path, "anon: url"
end

change_table :b_params do |t|
t.change_comment :email, "anon: email"
t.change_comment :params, "anon: empty_curly"
t.change_comment :old_params, "anon: empty_string"
t.change_comment :id_token, "anon: md5"
t.change_comment :image, "anon: lorem_word"
t.change_comment :image_temp, "anon: lorem_word"
t.change_comment :bike_errors, "anon: lorem_sentence"
end

change_table :bike_codes do |t|
t.change_comment :code, "anon: ugcid"
end

change_table :bulk_imports do |t|
t.change_comment :file, "anon: lorem_word"
end
end
end

0 comments on commit 5273047

Please sign in to comment.