You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api/datamart/migrations/20250103134809-create-data-export-parcoursup-certif-result-code-validation-table.js
'ALTER TABLE :schema:."data_export_parcoursup_certif_result" alter column first_name type varchar(255) COLLATE :schema:.parcoursup_case_accent_punctuation_insensitive;',
16
-
{
17
-
schema: SCHEMA_NAME,
18
-
},
8
+
'ALTER TABLE "data_export_parcoursup_certif_result" alter column first_name type varchar(255) COLLATE parcoursup_case_accent_punctuation_insensitive;',
19
9
);
20
10
awaitknex.schema.raw(
21
-
'ALTER TABLE :schema:.data_export_parcoursup_certif_result alter column last_name type varchar(255) COLLATE :schema:.parcoursup_case_accent_punctuation_insensitive;',
22
-
{
23
-
schema: SCHEMA_NAME,
24
-
},
11
+
'ALTER TABLE data_export_parcoursup_certif_result alter column last_name type varchar(255) COLLATE parcoursup_case_accent_punctuation_insensitive;',
25
12
);
26
13
};
27
14
28
15
constdown=asyncfunction(knex){
29
-
awaitknex.schema.raw(
30
-
'ALTER TABLE :schema:.data_export_parcoursup_certif_result alter column last_name type varchar(255);',
31
-
{
32
-
schema: SCHEMA_NAME,
33
-
},
34
-
);
35
-
awaitknex.schema.raw(
36
-
'ALTER TABLE :schema:.data_export_parcoursup_certif_result alter column first_name type varchar(255);',
37
-
{
38
-
schema: SCHEMA_NAME,
39
-
},
40
-
);
41
-
awaitknex.schema.raw('drop collation if exists :schema:."parcoursup_case_accent_punctuation_insensitive"',{
42
-
schema: SCHEMA_NAME,
43
-
});
16
+
awaitknex.schema.raw('ALTER TABLE data_export_parcoursup_certif_result alter column last_name type varchar(255);');
17
+
awaitknex.schema.raw('ALTER TABLE data_export_parcoursup_certif_result alter column first_name type varchar(255);');
18
+
awaitknex.schema.raw('drop collation if exists "parcoursup_case_accent_punctuation_insensitive";');
0 commit comments