this should fix it

This commit is contained in:
Akis 2022-12-31 14:51:44 +02:00
parent 92753b1e35
commit c5edce00eb
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -2,7 +2,9 @@ import { Sequelize, DataTypes } from "sequelize";
import consola from "consola";
import { env } from "$env/dynamic/private";
const sequelize = new Sequelize(env.DB_URL);
const sequelize = new Sequelize(env.DB_URL, {
dialect: "postgres"
});
sequelize.define("Announcements", {
title: {