Skip to content

Commit

Permalink
Bump version and update lookup schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik committed Jan 8, 2024
1 parent 2233db1 commit c78fa6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 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','3.0.0');
INSERT INTO `AdminVar` (`varId`, `name`, `value`) VALUES (4,'schemaVersion','4.0.0');
/*!40000 ALTER TABLE `AdminVar` ENABLE KEYS */;

/*!40000 ALTER TABLE `SchemaStatus` DISABLE KEYS */;
Expand Down Expand Up @@ -243,7 +243,8 @@ INSERT INTO `SchemaStatus` (`schemaStatusId`, `scriptName`, `schemaStatus`, `rec
(269,'2024_01_02_drop_bioSAXS.sql','DONE','2024-01-08 15:41:22'),
(270,'2024_01_02_drop_views.sql','DONE','2024-01-08 15:41:22'),
(271,'2024_01_04_BLSession_drop_cols.sql','DONE','2024-01-08 15:41:22'),
(272,'2024_01_04_drop_unused_tables.sql','DONE','2024-01-08 15:41:22');
(272,'2024_01_04_drop_unused_tables.sql','DONE','2024-01-08 15:41:22'),
(274,'2024_01_08_AdminVar_bump_version.sql','DONE','2024-01-08 17:01:43');
/*!40000 ALTER TABLE `SchemaStatus` ENABLE KEYS */;

/*!40000 ALTER TABLE `ComponentType` DISABLE KEYS */;
Expand Down
5 changes: 5 additions & 0 deletions schemas/ispyb/updates/2024_01_08_AdminVar_bump_version.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_01_08_AdminVar_bump_version.sql', 'ONGOING');

UPDATE AdminVar SET `value` = '4.0.0' WHERE `name` = 'schemaVersion';

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_01_08_AdminVar_bump_version.sql';

0 comments on commit c78fa6e

Please sign in to comment.