Skip to content

Commit

Permalink
Move filing/client mapping to its own table; refactor relationship
Browse files Browse the repository at this point in the history
insertion.

Prior to this change, filing/entity relationships were inserted by the
filing importer. Now those relationships are inserted by the
individual the entity importers instead. The problem with the previous
mechanism was that only the entity database keys are easily available
to the filing importer, not the entity fields. But in the new schema,
I want to move some of the entity fields out of the entity tables and
into the filing/entity relationship tables (e.g., client status, which
is a function of the filing, not the client entity). Making the entity
importer functions responsible for inserting their filing
relationships means it's trivial to insert any entity columns we want
into the relationship tables.
  • Loading branch information
Drew Hess committed Oct 18, 2008
1 parent e8ec8da commit 2c4f08d
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 218 deletions.

0 comments on commit 2c4f08d

Please sign in to comment.