Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jan 16, 2025
1 parent e2d64cc commit de1e5d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const { knexConnection } = require('../util/db');
// Connects to the postgres database specified in configuration and returns it.
const initKnex = (config) => knex({ client: 'pg', connection: knexConnection(config) });

const legacyPath = `${__dirname}/migrations`;
const postKnexPath = `${__dirname}/migrations-post-knex`;
const legacyPath = `${__dirname}/migrations`; // TODO rename to /migrations/legacy
const postKnexPath = `${__dirname}/migrations-post-knex`; // TODO rename to /migrations/current

// Connects to a database, passes it to a function for operations, then ensures its closure.
const withKnex = (config) => (mutator) => {
Expand Down

0 comments on commit de1e5d7

Please sign in to comment.