Skip to content

Commit

Permalink
fix: revert changes related to publication period migration (#1094)
Browse files Browse the repository at this point in the history
Related: MODINVSTOR-1232
  • Loading branch information
psmagin authored Oct 11, 2024
1 parent fdea837 commit 2734a43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
15 changes: 15 additions & 0 deletions ramls/instance.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,21 @@
},
"uniqueItems": true
},
"publicationPeriod": {
"type": "object",
"description": "Publication period",
"properties": {
"start": {
"type": "integer",
"description": "Publication start year"
},
"end": {
"type": "integer",
"description": "Publication end year"
}
},
"additionalProperties": false
},
"electronicAccess": {
"type": "array",
"description": "List of electronic access items",
Expand Down
5 changes: 0 additions & 5 deletions src/main/resources/templates/db_scripts/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1227,11 +1227,6 @@
"run": "after",
"snippetPath": "subjectIdsReferenceCheckTrigger.sql",
"fromModuleVersion": "27.2.0"
},
{
"run": "after",
"snippetPath": "publication-period/migratePublicationPeriod.sql",
"fromModuleVersion": "28.0.0"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
import org.folio.rest.persist.PostgresClient;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;

@Disabled
public class PublicationPeriodMigrationTest extends MigrationTestBase {
private static final String MIGRATION_SCRIPT = loadScript("publication-period/migratePublicationPeriod.sql");
private static final String TAG_VALUE = "test-tag";
Expand Down

0 comments on commit 2734a43

Please sign in to comment.