Skip to content

Support node-pg-migrate by parsing -- Down Migration #394

@naftis

Description

@naftis

Currently the migrations create the database and immediately drop it, because node-pg-migrate syntax is as follows

-- 1746712582483_create_users_table.sql

-- Up Migration

CREATE TABLE users (id text);

-- Down Migration

DROP TABLE users;

I can work around this by taking a schema dump, but I'd rather not setup a script for that for my whole team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions