  connectionLimit: 5
})

const initDatabase = async () => {
  await pool.query(`
    CREATE TABLE IF NOT EXISTS urls (
      id        BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
      full      TEXT NOT NULL,
      shortened VARCHAR(255) UNIQUE NOT NULL,
      expire    DATETIME NULL,
      PRIMARY KEY (id))`)
  await pool.query(`