Skip to content

Commit ef6b69a

Browse files
committed
feat: mysql lang seed
1 parent e45c8f1 commit ef6b69a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scripts/seed-defaultlangs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ DB.sequelize.sync()
1111
{ lang_slug: 'nodejs8', lang_name: 'NodeJS 8', lang_version: '8' },
1212
{ lang_slug: 'nodejs10', lang_name: 'NodeJS 10', lang_version: '10' },
1313
{ lang_slug: 'cpp', lang_name: 'C++', lang_version: '11' },
14-
{ lang_slug: 'c', lang_name: 'C', lang_version: '6' }
14+
{ lang_slug: 'c', lang_name: 'C', lang_version: '6' },
15+
{ lang_slug: 'mysql', lang_name: 'MySQL', lang_version: '10.4' }
1516
]))
1617
.then(async () => { console.log('Languages Seeded') })
1718
.then(() => DB.apikeys.sync({ force: true }))

0 commit comments

Comments
 (0)