
const { Sequelize } = require('sequelize');
require('dotenv').config();

const sequelize = new Sequelize(
  process.env.DB_NAME,
  process.env.DB_USER,
  process.env.DB_PASS,
  {
    host: process.env.DB_HOST,
    port: process.env.DB_PORT,
    dialect: 'postgres',
    logging: false,
  }
);

async function fix() {
  try {
    await sequelize.query("INSERT INTO \"SequelizeMeta\" (name) VALUES ('1771187473079.js')");
    console.log('Inserted 1771187473079.js into SequelizeMeta');
  } catch (err) {
    console.error('Error:', err);
  } finally {
    await sequelize.close();
  }
}

fix();
