From 33c38adb76bc6ef0f0f55a0947bd76631dde63f5 Mon Sep 17 00:00:00 2001 From: Paula Rinta-Harri Date: Tue, 9 Apr 2024 14:47:19 +0300 Subject: [PATCH] Fix db index naming to migration script (#80) --- migrations/1712659673740_add-user-guid-indexes.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/migrations/1712659673740_add-user-guid-indexes.js b/migrations/1712659673740_add-user-guid-indexes.js index c982333..8cbbd7b 100644 --- a/migrations/1712659673740_add-user-guid-indexes.js +++ b/migrations/1712659673740_add-user-guid-indexes.js @@ -6,23 +6,23 @@ exports.up = (pgm) => { // Adding indexes pgm.createIndex('completed_agegroup_entries', 'user_guid', { ifNotExists: true, - name: completed_agegroup_entries_user_guid_idx, + name: 'completed_agegroup_entries_user_guid_idx', }) pgm.createIndex('favourite_tasks', 'user_guid', { ifNotExists: true, - name: favourite_tasks_user_guid_idx, + name: 'favourite_tasks_user_guid_idx', }) pgm.createIndex('notifications', 'user_guid', { ifNotExists: true, - name: notifications_user_guid_idx, + name: 'notifications_user_guid_idx', }) pgm.createIndex('task_entries', 'user_guid', { ifNotExists: true, - name: task_entries_user_guid_idx, + name: 'task_entries_user_guid_idx', }) pgm.createIndex('task_group_entries', 'user_guid', { ifNotExists: true, - name: task_group_entries_user_guid_idx, + name: 'task_group_entries_user_guid_idx', }) }