Skip to content

Commit

Permalink
simplify people migration (retrospectively) to eliminate all PII #65
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Oct 2, 2020
1 parent 2b5df63 commit d6f90a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
8 changes: 0 additions & 8 deletions priv/repo/migrations/20191113100920_create_people.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ defmodule App.Repo.Migrations.CreatePeople do

def change do
create table(:people) do
add :username, :binary
add :username_hash, :binary
add :email, :binary
add :email_hash, :binary
add :givenName, :binary
add :familyName, :binary
add :password_hash, :binary
add :key_id, :integer
add :status, references(:status, on_delete: :nothing)
add :tag, references(:tags, on_delete: :nothing)

Expand Down
15 changes: 0 additions & 15 deletions priv/repo/migrations/20191126144556_create_session_table.exs

This file was deleted.

2 changes: 1 addition & 1 deletion test/app/person_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ defmodule App.PersonTest do
assert updated_person.status == @update_attrs.status
end
end
end
end

0 comments on commit d6f90a4

Please sign in to comment.