Skip to content

Commit 3f72abe

Browse files
committed
Fixed story entries, removing the comic vine id field [#2368]
1 parent 43ef4ba commit 3f72abe

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

comixed-model/src/main/java/org/comixedproject/model/lists/StoryEntry.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,6 @@ public class StoryEntry {
9191
@Setter
9292
private ComicBook comicBook;
9393

94-
@Column(name = "comic_vine_id", nullable = true, updatable = true, unique = true)
95-
@JsonProperty("comicVineId")
96-
@JsonView(View.StoryList.class)
97-
@Getter
98-
@Setter
99-
private Integer comicVineId;
100-
10194
@Override
10295
public boolean equals(final Object o) {
10396
if (this == o) return true;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
6+
<changeSet id="020_2368_removed_comic_vine_id_from_story_entries.xml" author="mcpierce">
7+
8+
<preConditions onFail="MARK_RAN">
9+
<columnExists tableName="story_entries" columnName="comic_vine_id"/>
10+
</preConditions>
11+
12+
<dropColumn tableName="story_entries" columnName="comic_vine_id"/>
13+
14+
</changeSet>
15+
</databaseChangeLog>

comixed-model/src/main/resources/db/migrations/2.3/changelog-2.3.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@
2626
<include file="/db/migrations/2.3/017_2341_added_publisher_details_view.xml"/>
2727
<include file="/db/migrations/2.3/018_2346_add_notes_to_displayable_comic_books.xml"/>
2828
<include file="/db/migrations/2.3/019_2368_stories_reference_metadata_source.xml"/>
29+
<include file="/db/migrations/2.3/020_2368_removed_comic_vine_id_from_story_entries.xml"/>
2930

3031
</databaseChangeLog>

comixed-webui/src/app/lists/models/story-entry.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ export interface StoryEntry {
2525
volume: string;
2626
issueNumber: string;
2727
comic: ComicBook;
28-
comicVineId: number;
2928
}

0 commit comments

Comments
 (0)