Skip to content

Commit

Permalink
fixing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ridz1208 committed Nov 27, 2024
1 parent 4645a8a commit 90778a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions SQL/0000-00-06-BiobankTables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,16 @@ CREATE TABLE `biobank_container_shipment_rel` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- Insert units, processes, container status and shipment status
INSERT INTO `biobank_unit` VALUES (2,'mL'),(8,'piece'),(3,'x 10e6 cells'),(1,'µL');
INSERT INTO `biobank_unit` VALUES (1,'mL'),(2,'µL');
INSERT INTO `biobank_specimen_attribute_datatype` VALUES (1, 'text'),(2, 'number'),(3, 'date'),(4, 'time'),(5, 'boolean');
INSERT INTO `biobank_specimen_protocol` VALUES (1, 'Blood Collection', 1, 1), (2, 'Blood Preparation', 2, 1), (3, 'Serum Collection', 1, 2);
INSERT INTO `biobank_specimen_type` VALUES (1,'Blood',0),(2,'Serum', 1);
INSERT INTO `biobank_specimen_type_unit_rel` VALUES (1, 1), (2, 2);
INSERT INTO `biobank_specimen_type_parent` VALUES (2, 1);
INSERT INTO `biobank_container_dimension` VALUES (1, 1, 1, 1, 1, 0, 0), (2, 10, 1, 10, 0, 1, 0), (3, 1, 0, 5, 0, 1, 0);
INSERT INTO `biobank_container_capacity` VALUES (1, 1, 1);
INSERT INTO `biobank_container_type` VALUES (1, 'Brand', 'Product Number 1', 'Vial', 1, 1, 1), (2, 'Brand', 'Product Number 2', 'Matrix Box', 0, null, 2), (3, 'Brand', 'Product Number 3', 'Rack', 0, null, 3);
INSERT INTO `biobank_specimen_type_container_type_rel` VALUES (1, 1), (2, 1);
INSERT INTO `biobank_specimen_process` VALUES (2,'Analysis'),(1,'Collection'),(3,'Preparation');
INSERT INTO `biobank_container_status` VALUES (1,'Available'),(4,'Discarded'),(3,'Dispensed'),(2,'Reserved'),(5,'Shipped');
INSERT INTO `shipment_status` VALUES (10,'cancelled'),(1,'created'),(7,'received'),(13,'returned'),(4,'shipped');
INSERT INTO `biobank_container_status` VALUES (1,'Available'),(4,'Discarded'),(3,'Dispensed');
INSERT INTO `shipment_status` VALUES (1,'cancelled'),(2,'created'),(3,'received'),(4,'returned'),(5,'shipped');
File renamed without changes.

0 comments on commit 90778a0

Please sign in to comment.