Skip to content

Commit

Permalink
Bump version to 1.31.0, update schema and history files
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik committed Aug 8, 2022
1 parent 919b5af commit 0942518
Show file tree
Hide file tree
Showing 4 changed files with 503 additions and 396 deletions.
19 changes: 19 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,25 @@ History
Unreleased / master
-------------------

1.31.0 (2022-08-08)
-------------------

Stored procedures:

* Existing proc ``insert_subsample_for_image_full_path`` now also populates ```BLSubSample.blSampleImageId``. (Existing ``BLSubSample`` rows can be back-populated with values for the column through the ``2022_07_17_BLSubSample_update_blSampleImageId.sql`` script.)
* New proc ``insert_subsample_for_image_full_path_v2`` has an additional parameter ``p_experiment_type`` used to create a ``DiffractionPlan`` for the ``BLSubSample``.

Views:

* New analytics views: ``Protein``, ``Crystal``, ``PDBEntry``

Roles and grants:

* New role ``ispyb_scripts_processing`` for processing scripts
* Grants for new tables ``Tomogram`` and ``TiltImageAlignment``
* Grants for above new analytics views


1.30.0 (2022-06-22)
-------------------

Expand Down
6 changes: 4 additions & 2 deletions schemas/ispyb/lookups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

/*!40000 ALTER TABLE `AdminVar` DISABLE KEYS */;
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.30.0');
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','1.31.0');
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;

/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
Expand Down Expand Up @@ -195,7 +195,9 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
(220,'2022_04_12_BLSession_fk_beamCalendarId_set_null.sql','DONE','2022-06-22 12:09:07'),
(221,'2022_05_12_Pod_app_modify_enum.sql','DONE','2022-06-22 12:09:07'),
(222,'2022_06_22_AdminVar_bump_version.sql','DONE','2022-06-22 12:09:07'),
(223,'2022_06_22_cryo-ET_tables.sql','DONE','2022-06-22 12:09:07');
(223,'2022_06_22_cryo-ET_tables.sql','DONE','2022-06-22 12:09:07'),
(224,'2022_07_17_BLSubSample_update_blSampleImageId.sql','DONE','2022-08-08 12:03:49'),
(225,'2022_08_08_AdminVar_bump_version.sql','DONE','2022-08-08 16:40:14');
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;

/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Expand Down
Loading

0 comments on commit 0942518

Please sign in to comment.