[TEST] Database connection.
[FIX] database.js.
[TASK] Update create-ledgers migration.