Skip to content

db.insert is not a function #542

Closed
Closed
@ryanrolds

Description

@ryanrolds

I'm submitting a...


[x] Bug report  
[ ] Feature request

Current behavior

[ERROR] TypeError: db.insert is not a function

Expected behavior

The insert function to exist

Minimal reproduction of the problem with instructions

Create a migration and use the db.insert function with 0.10.3

What is the motivation / use case for changing the behavior?

It works in 0.10.2 and a removing a function should be a major version rev.

Environment

Ubuntu 14.04 and Ubuntu 16.04 w/ Postgres 9.6


db-migrate version: 0.10.3
db-migrate-pg version: 0.2.5 (tried with 0.3.0 and had same issue).

Additional information:
- Node version: 6.11.5
- Platform:  Linux

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