Commit 71d2eef
committed
fix(migration): set explicit primary key and index names for Oracle compatibility
- setPrimaryKey with explicit name 'pf_definitions_pk' (16 chars) for
profile_fields_definitions table (table name without prefix is 26 chars,
requires explicit PK name when >= 23 chars per NC Oracle constraint)
- setPrimaryKey with explicit name 'pf_values_pk' for profile_fields_values
- rename unique index 'profile_fields_val_field_user_uk' (32 chars) to
'pf_val_def_user_uk' (18 chars); Oracle max identifier length is 30
Fixes #65
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent b11d27b commit 71d2eef
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments