File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cardano-chain-gen/test/Test/Cardano/Db/Mock
cardano-db/src/Cardano/Db Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ withFullConfig' WithConfigArgs {..} cmdLineArgs mSyncNodeConfig configFilePath t
575
575
-- we dont fork dbsync here. Just prepare it as an action
576
576
withDBSyncEnv (mkDBSyncEnv dbsyncParams syncNodeConfig partialDbSyncRun) $ \ dbSyncEnv -> do
577
577
let pgPass = getDBSyncPGPass dbSyncEnv
578
- tableNames <- DB. getAllTablleNames pgPass
578
+ tableNames <- DB. getAllTableNames pgPass
579
579
-- We only want to create the table schema once for the tests so here we check
580
580
-- if there are any table names.
581
581
if null tableNames || shouldDropDB
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module Cardano.Db.Migration (
11
11
getMigrationScripts ,
12
12
runMigrations ,
13
13
recreateDB ,
14
- getAllTablleNames ,
14
+ getAllTableNames ,
15
15
truncateTables ,
16
16
dropTables ,
17
17
getMaintenancePsqlConf ,
@@ -298,8 +298,8 @@ recreateDB pgpass = do
298
298
rawExecute " drop schema if exists public cascade" []
299
299
rawExecute " create schema public" []
300
300
301
- getAllTablleNames :: PGPassSource -> IO [Text ]
302
- getAllTablleNames pgpass = do
301
+ getAllTableNames :: PGPassSource -> IO [Text ]
302
+ getAllTableNames pgpass = do
303
303
runWithConnectionNoLogging pgpass $ do
304
304
fmap unSingle <$> rawSql " SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname = current_schema()" []
305
305
You can’t perform that action at this time.
0 commit comments