Skip to content

Commit

Permalink
Merge pull request #70 from horizontalsystems/db-version
Browse files Browse the repository at this point in the history
Reset database versions to 1.
  • Loading branch information
tmedetbekov authored May 9, 2019
2 parents 8c9f1f7 + c64a251 commit b1b2be7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import io.horizontalsystems.ethereumkit.api.models.LastBlockHeight
import io.horizontalsystems.ethereumkit.models.EthereumTransaction


@Database(entities = [EthereumBalance::class, LastBlockHeight::class, EthereumTransaction::class], version = 5, exportSchema = true)
@Database(entities = [EthereumBalance::class, LastBlockHeight::class, EthereumTransaction::class], version = 1, exportSchema = true)
@TypeConverters(RoomTypeConverters::class)
abstract class ApiDatabase : RoomDatabase() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import io.horizontalsystems.ethereumkit.models.EthereumTransaction
import io.horizontalsystems.ethereumkit.spv.models.AccountState
import io.horizontalsystems.ethereumkit.spv.models.BlockHeader

@Database(entities = [BlockHeader::class, EthereumTransaction::class, AccountState::class], version = 6, exportSchema = true)
@Database(entities = [BlockHeader::class, EthereumTransaction::class, AccountState::class], version = 1, exportSchema = true)
@TypeConverters(RoomTypeConverters::class)
abstract class SPVDatabase : RoomDatabase() {

Expand Down

0 comments on commit b1b2be7

Please sign in to comment.