Skip to content

Commit ec4a57d

Browse files
authored
Add reference to BLSample, describe position type (#266)
1 parent 7a1afaa commit ec4a57d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2025_04_11_Position_blSampleId_positionType.sql', 'ONGOING');
2+
3+
ALTER TABLE Position
4+
ADD positionType varchar(45) COMMENT 'Action (type) that originated this position',
5+
ADD blSampleId int(11) unsigned COMMENT 'FK, references parent sample',
6+
ADD CONSTRAINT `Position_fk_blSampleId`
7+
FOREIGN KEY (`blSampleId`)
8+
REFERENCES `BLSample` (`blSampleId`);
9+
10+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2025_04_11_Position_blSampleId_positionType.sql';

0 commit comments

Comments
 (0)