Logo

Turboprisma

Search...
Ctrl
K

init

Bootstraps a fresh Turboprisma project within the current directory. The init command does not interpret any existing files. Instead, it creates a prisma directory containing a bare-bones schema.prisma file within your current directory.

Options

Here's a summary of the options available for the init command:

--datasource-provider <arg>

Set the provider field of the datasource in the generated schema.

Available Options

  • sqlite

  • postgresql

  • mysql

  • sqlserver

  • mongodb

  • cockroachdb

Default Value

The default value for this option is postgresql.

--generator-provider <arg>

Set the provider field of the generator in the generated schema.

--preview-features <arg>

Set the previewFeatures field of the generator in the generated schema.

Note: This option expects a comma-separated list, such as clientExtensions,deno.

--output <arg>

Set the output field of the generator in the generated schema.