Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to use schema builder to copy a table structure? #1373

@chenweiyj

Description

@chenweiyj

I want to realize CREATE TABLE foo LIKE bar;

How to use knex.schema.createTable to do it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions