Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add storageType field to HouseTable Entity #81

Merged
merged 7 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ public class HouseTable {
private long lastModifiedTime;

private long creationTime;

private String storageType;
HotSushi marked this conversation as resolved.
Show resolved Hide resolved
}
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public void testRepoSave() {
Assertions.assertEquals(result.getDatabaseId(), HOUSE_TABLE.getDatabaseId());
Assertions.assertEquals(result.getTableLocation(), HOUSE_TABLE.getTableLocation());
Assertions.assertEquals(result.getTableVersion(), HOUSE_TABLE.getTableVersion());
Assertions.assertEquals(result.getStorageType(), HOUSE_TABLE.getStorageType());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class HouseTableModelConstants {
.tableLocation("loc1")
.tableVersion(String.valueOf(new Random().nextLong()))
.tableUUID(UUID.randomUUID().toString())
.storageType("st")
.build();

public static final HouseTable HOUSE_TABLE_SAME_DB =
Expand All @@ -36,6 +37,7 @@ public class HouseTableModelConstants {
.tableLocation("loc2")
.tableVersion(String.valueOf(new Random().nextLong()))
.tableUUID(UUID.randomUUID().toString())
.storageType("st")
.build();

public static final HouseTable HOUSE_TABLE_DIFF_DB =
Expand All @@ -47,5 +49,6 @@ public class HouseTableModelConstants {
.tableLocation("loc3")
.tableVersion(String.valueOf(new Random().nextLong()))
.tableUUID(UUID.randomUUID().toString())
.storageType("st")
.build();
}