Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Oct 26, 2020
1 parent a994d11 commit 333d8d0
Show file tree
Hide file tree
Showing 4 changed files with 2,555 additions and 3,951 deletions.
6 changes: 4 additions & 2 deletions lib/core/src/Cardano/Pool/DB/Sqlite.hs
Expand Up @@ -756,7 +756,8 @@ activePoolLifeCycleData = DatabaseView "active_pool_lifecycle_data" [i|
margin_numerator,
margin_denominator,
metadata_hash,
metadata_url
metadata_url,
active_pool_registrations.flag as flag
FROM
active_pool_registrations
LEFT JOIN
Expand Down Expand Up @@ -811,7 +812,8 @@ activePoolRegistrations = DatabaseView "active_pool_registrations" [i|
margin_numerator,
margin_denominator,
metadata_hash,
metadata_url
metadata_url,
flag
FROM (
SELECT row_number() OVER w AS r, *
FROM pool_registration
Expand Down

0 comments on commit 333d8d0

Please sign in to comment.