Commit 7f3a0c7
fix(migrations): kpi migration script failure on fresh installs DEV-1305 (#6485)
### 👀 Preview steps
1. ℹ️ create a fresh kobo install
2. 🔴 [on main] receive an error when applying migrations:
```
psycopg.errors.UndefinedTable: relation "django_migrations" does not exist
LINE 1: SELECT * FROM django_migrations WHERE app = 'mfa' AND name =...
```
3. 🟢 [on PR] migrations will all apply and app will build successfully
4. Create a user with MFA availabilities
5. 🟢 User will be able to authenticate with MFA
Co-authored-by: Olivier Léger <[email protected]>1 parent 14673b8 commit 7f3a0c7
2 files changed
+7
-2
lines changedWhitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
0 commit comments