Skip to content

Commit

Permalink
Merge pull request #399 from tomheaton/patch-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Sep 9, 2023
2 parents 9cd053c + 8f9fa1a commit e520c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/generator/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fn find_migrations_path(schema_path: &PathBuf) -> PathBuf {
.parent()
.map(|p| p.join("migrations"))
.filter(|p| p.exists())
.expect("Migrations folder not found!")
.expect("Migrations folder not found! Please create one in the same folder as your schema.prisma file.")
}

pub fn generate(args: &GenerateArgs) -> TokenStream {
Expand Down

1 comment on commit e520c5f

@vercel
Copy link

@vercel vercel bot commented on e520c5f Sep 9, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.