Skip to content

Commit

Permalink
fixup! 8c4c43d use 'tableName' instead of 'fieldName'
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jan 18, 2020
1 parent 450ba81 commit 188b8b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet/DB/Sqlite.hs
Expand Up @@ -353,7 +353,7 @@ migrateManually tr defaultFieldValues =
getCheckpointTableInfo <- Sqlite.prepare conn $ mconcat
[ "SELECT sql FROM sqlite_master "
, "WHERE type = 'table' "
, "AND name = '" <> fieldName field <> "';"
, "AND name = '" <> tableName field <> "';"
]
row <- Sqlite.step getCheckpointTableInfo
>> Sqlite.columns getCheckpointTableInfo
Expand Down

0 comments on commit 188b8b1

Please sign in to comment.