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

feat: schema engine postgres WASM implementation #5136

Merged
merged 8 commits into from
Jan 30, 2025
Prev Previous commit
Next Next commit
chore: unnecessary Box::pin
  • Loading branch information
jacek-prisma committed Jan 24, 2025
commit 07f35bb39c79c9c82101a205346c3b58dc8e881d
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ impl SqlFlavour for PostgresFlavour {
}

fn drop_migrations_table(&mut self) -> BoxFuture<'_, ConnectorResult<()>> {
Box::pin(self.raw_cmd("DROP TABLE _prisma_migrations"))
self.raw_cmd("DROP TABLE _prisma_migrations")
Comment on lines -411 to +371
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed in a call, we were previously applying Box::pin twice by accident, so this change is fine.

}

fn empty_database_schema(&self) -> SqlSchema {
Expand Down
Loading