Skip to content

Commit

Permalink
Add additional performance index
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersoncasimir authored Feb 2, 2024
1 parent 9c73255 commit 5dcea57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SQL/New_patches/2024-01-30-HED-Tag-Support.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
-- Remove unused column
ALTER TABLE `physiological_task_event` DROP COLUMN `AssembledHED`;

-- Add index for performance improvement
-- Add indices for performance improvement
ALTER TABLE `physiological_task_event` ADD INDEX idx_pte_EventValue (`EventValue`);
ALTER TABLE `physiological_task_event` ADD INDEX idx_pte_TrialType (`TrialType`);

-- Event files are always associated to Projects, sometimes exclusively (dataset-scope events.json files)
-- Add ProjectID and make PhysiologicalFileID DEFAULT NULL (ProjectID should ideally not be NULLable)
Expand Down

0 comments on commit 5dcea57

Please sign in to comment.