mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +00:00
lint fix
This commit is contained in:
parent
6a7dac0cc6
commit
331a4e1205
@ -2,7 +2,7 @@ import 'reflect-metadata'
|
|||||||
import { createDatabase } from './prepare'
|
import { createDatabase } from './prepare'
|
||||||
import CONFIG from './config'
|
import CONFIG from './config'
|
||||||
|
|
||||||
import { createPool, Pool } from 'mysql'
|
import { createPool } from 'mysql'
|
||||||
import { Migration } from 'ts-mysql-migrate'
|
import { Migration } from 'ts-mysql-migrate'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
|
|
||||||
@ -10,6 +10,7 @@ const run = async (command: string) => {
|
|||||||
// Database actions not supported by our migration library
|
// Database actions not supported by our migration library
|
||||||
await createDatabase()
|
await createDatabase()
|
||||||
|
|
||||||
|
// Initialize Migrations
|
||||||
const pool = createPool({
|
const pool = createPool({
|
||||||
host: CONFIG.DB_HOST,
|
host: CONFIG.DB_HOST,
|
||||||
port: CONFIG.DB_PORT,
|
port: CONFIG.DB_PORT,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user