mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-26 08:42:04 +05:30
this should fix it
This commit is contained in:
parent
92753b1e35
commit
c5edce00eb
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user