Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prisma db -h still mentions seed as a preview feature #9401

Closed
sdnts opened this issue Sep 23, 2021 · 0 comments · Fixed by #9418
Closed

prisma db -h still mentions seed as a preview feature #9401

sdnts opened this issue Sep 23, 2021 · 0 comments · Fixed by #9418
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: prisma db seed CLI: prisma db seed
Milestone

Comments

@sdnts
Copy link
Contributor

sdnts commented Sep 23, 2021

Bug description

Running prisma db -h shows seeding as a preview feature, when it was stabilized with Prisma 3.0. This is the full output:

❯ yarn prisma db -h                                                                                           12:28:43
yarn run v1.22.11
$ /Users/siddhant/Code/prisma/studio/packages/tests/node_modules/.bin/prisma db -h
Environment variables loaded from prisma/.env

🏋️  Manage your database schema and lifecycle during development.

Usage

  $ prisma db [command] [options]

Options

  -h, --help   Display this help message
    --schema   Custom path to your Prisma schema

Commands
        pull   Pull the state from the database to the Prisma schema using introspection
        push   Push the state from Prisma schema to the database during prototyping
        seed   Seed your database (preview) 

Examples

  Using prisma db pull
  $ prisma db pull

  Using prisma db push
  $ prisma db push

  Using prisma db seed
  $ prisma db seed --preview-feature

✨  Done in 1.44s.

How to reproduce

  1. Run prisma db -h

Expected behavior

Seeding should not be marked as a preview feature in the Commands & Examples section of prisma db -h output

Prisma information

Not relevant

Environment & setup

  • OS: macOS
  • Database: Not relevant
  • Node.js version: 14.17.5

Prisma Version

prisma                  : 3.1.1
@prisma/client          : 3.1.1
Current platform        : darwin
Query Engine (Node-API) : libquery-engine c22652b7e418506fab23052d569b85d3aec4883f (at node_modules/@prisma/engines/libquery_engine-darwin.dylib.node)
Migration Engine        : migration-engine-cli c22652b7e418506fab23052d569b85d3aec4883f (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core c22652b7e418506fab23052d569b85d3aec4883f (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt c22652b7e418506fab23052d569b85d3aec4883f (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : c22652b7e418506fab23052d569b85d3aec4883f
Studio                  : 0.423.0
@sdnts sdnts added the kind/bug A reported bug. label Sep 23, 2021
@janpio janpio added bug/2-confirmed Bug has been reproduced and confirmed. team/schema Issue for team Schema. topic: prisma db seed CLI: prisma db seed labels Sep 23, 2021
@janpio janpio added this to the 3.2.0 milestone Sep 23, 2021
Jolg42 added a commit that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. topic: prisma db seed CLI: prisma db seed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants