fix: acme.js INSERT column count mismatch (16 cols, 16 vals)
This commit is contained in:
parent
e6fb6dd8cd
commit
b454ae05a1
1 changed files with 1 additions and 3 deletions
|
|
@ -192,15 +192,13 @@ export async function seedAcmeCorp() {
|
|||
for (let b = 0; b < 4; b++) {
|
||||
selectedBenefits.push(benefits[(i + b) % benefits.length]);
|
||||
}
|
||||
|
||||
|
||||
await pool.query(`
|
||||
INSERT INTO jobs ( company_id, created_by, title, description,
|
||||
salary_min, salary_max, salary_type, employment_type, working_hours,
|
||||
location, requirements, benefits, visa_support, language_level, status, work_mode)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)
|
||||
`, [
|
||||
|
||||
acmeCompanyId,
|
||||
seedUserId,
|
||||
title,
|
||||
|
|
|
|||
Loading…
Reference in a new issue