-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,705 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-- Create EEG upload table | ||
CREATE TABLE `electrophysiology_uploader` ( | ||
`UploadID` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`UploadedBy` varchar(255) NOT NULL DEFAULT '', | ||
`UploadDate` DateTime DEFAULT NULL, | ||
`UploadLocation` varchar(255) NOT NULL DEFAULT '', | ||
`Status` enum('Not Started', 'In Progress', 'Complete', 'Failed') DEFAULT 'Not Started', | ||
`SessionID` int(10) unsigned NOT NULL default '0', | ||
`MetaData` TEXT default NULL, | ||
PRIMARY KEY (`UploadID`), | ||
KEY (`SessionID`), | ||
CONSTRAINT `FK_eegupload_SessionID` | ||
FOREIGN KEY (`SessionID`) REFERENCES `session` (`ID`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
|
||
-- Add to module table | ||
INSERT INTO modules (Name, Active) VALUES ('electrophysiology_uploader', 'Y'); | ||
|
||
-- Add new configurations for eeg uploader | ||
INSERT INTO ConfigSettings (Name, Description, Visible, AllowMultiple, DataType, Parent, Label, OrderNumber) SELECT 'EEGUploadIncomingPath', 'Path to the upload directory for incoming EEG studies', 1, 0, 'text', ID, 'EEG Incoming Directory', 7 FROM ConfigSettings WHERE Name="paths"; | ||
|
Oops, something went wrong.