fix(seeder): import pool directly in tags.js instead of expecting as parameter
This commit is contained in:
parent
5155fa853d
commit
d5f6cdacff
1 changed files with 2 additions and 1 deletions
|
|
@ -2,8 +2,9 @@
|
||||||
* Tags Seeder
|
* Tags Seeder
|
||||||
* Seeds job_tags table with categories: area, level, stack
|
* Seeds job_tags table with categories: area, level, stack
|
||||||
*/
|
*/
|
||||||
|
import { pool } from '../db.js';
|
||||||
|
|
||||||
const seedTags = async (pool) => {
|
const seedTags = async () => {
|
||||||
console.log('🏷️ Seeding job tags...');
|
console.log('🏷️ Seeding job tags...');
|
||||||
|
|
||||||
const tags = [
|
const tags = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue