Skip to content

Commit

Permalink
fix: remove deprecated push command in drizzle package.json scripts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Irere123 committed May 11, 2024
1 parent c45ee6a commit 328d65a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cli/src/installers/drizzle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,7 @@ export const drizzleInstaller: Installer = ({
const packageJsonContent = fs.readJSONSync(packageJsonPath) as PackageJson;
packageJsonContent.scripts = {
...packageJsonContent.scripts,
"db:push": `drizzle-kit push:${
{
postgres: "pg",
sqlite: "sqlite",
mysql: "mysql",
planetscale: "mysql",
}[databaseProvider]
}`,
"db:push": `drizzle-kit push`,
"db:studio": "drizzle-kit studio",
};

Expand Down

0 comments on commit 328d65a

Please sign in to comment.