Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Add migration for audit_log #2409

Open
2 tasks
erezmus opened this issue Feb 7, 2020 · 0 comments
Open
2 tasks

Add migration for audit_log #2409

erezmus opened this issue Feb 7, 2020 · 0 comments

Comments

@erezmus
Copy link
Contributor

erezmus commented Feb 7, 2020

As preparation for splitting databases after the switch to new reviewer, add migration so that:

  • Foreign Key constraint between audit_log.user_id and user.id is removed
  • Change audit_log.user_id to be of type 'text'

Note that the audit_log.user_id is always null currently on production. This will need to be backfilled when migrating

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant