mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-11 09:51:47 +00:00
Fix the typo in the comments of seed.js (#402)
This commit is contained in:
@@ -10,7 +10,7 @@ const bcrypt = require('bcrypt');
|
||||
async function seedUsers(client) {
|
||||
try {
|
||||
await client.sql`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"`;
|
||||
// Create the "invoices" table if it doesn't exist
|
||||
// Create the "users" table if it doesn't exist
|
||||
const createTable = await client.sql`
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id UUID DEFAULT uuid_generate_v4() PRIMARY KEY,
|
||||
|
||||
@@ -10,7 +10,7 @@ const bcrypt = require('bcrypt');
|
||||
async function seedUsers(client) {
|
||||
try {
|
||||
await client.sql`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"`;
|
||||
// Create the "invoices" table if it doesn't exist
|
||||
// Create the "users" table if it doesn't exist
|
||||
const createTable = await client.sql`
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id UUID DEFAULT uuid_generate_v4() PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user