Commit 6544261
authored
Force primary key type on migrations (#28)
This MR fixes a bug found on #27 , which arises when your application is
configured to use other types of field which is not `bigserial` for primary
keys.
After this change, the migrations needed for the `ErrorTracker` enforce
the type `bigserial` for its primary keys.
---
As for people that already tried to implement the library on their systems,
they need to down migrate the migration in which they introduced the
library and run it again after this change is released.
In normal situations we would run a migration to fix existing systems, but
given that the library is less than a week old and this bug avoids using the
library at all, it is safe to say that users impacted by this will not have any
data stored.1 parent 8cc2e84 commit 6544261
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
| |||
0 commit comments