-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(crwa): Add missing quotes to seed example (#11651)
- Loading branch information
Showing
4 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- fix(crwa): Add missing quotes to seed example (#11651) by @Tobbe | ||
|
||
Just un-commenting the example seed code now gives you valid code to seed your database with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,8 +73,8 @@ export default async () => { | |
// Create your database records here! For example, seed some users: | ||
// | ||
// const users = [ | ||
// { name: 'Alice', email: '[email protected] }, | ||
// { name: 'Bob', email: '[email protected] }, | ||
// { name: 'Alice', email: '[email protected]' }, | ||
// { name: 'Bob', email: '[email protected]' }, | ||
// ] | ||
// | ||
// await db.user.createMany({ data: users }) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ export default async () => { | |
// Create your database records here! For example, seed some users: | ||
// | ||
// const users = [ | ||
// { name: 'Alice', email: '[email protected] }, | ||
// { name: 'Bob', email: '[email protected] }, | ||
// { name: 'Alice', email: '[email protected]' }, | ||
// { name: 'Bob', email: '[email protected]' }, | ||
// ] | ||
// | ||
// await db.user.createMany({ data: users }) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ export default async () => { | |
// Create your database records here! For example, seed some users: | ||
// | ||
// const users = [ | ||
// { name: 'Alice', email: '[email protected] }, | ||
// { name: 'Bob', email: '[email protected] }, | ||
// { name: 'Alice', email: '[email protected]' }, | ||
// { name: 'Bob', email: '[email protected]' }, | ||
// ] | ||
// | ||
// await db.user.createMany({ data: users }) | ||
|