Skip to content

Commit

Permalink
Add commitHash field to History, migrate database schema
Browse files Browse the repository at this point in the history
  • Loading branch information
TonnyL committed Jan 14, 2024
1 parent a05f2ba commit 8136bd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class History : RealmObject {
*/
var pipelineId: Long = Long.MIN_VALUE

/**
* Empty string or null means not set.
*/
var commitHash: String? = null
}

fun RealmInstant.toInstant(): Instant {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PackmanDatabase(

companion object {

private const val PACKMAN_REALM_SCHEMA_VERSION = 1L
private const val PACKMAN_REALM_SCHEMA_VERSION = 2L

}

Expand Down

0 comments on commit 8136bd6

Please sign in to comment.