forked from ProjectSegfault/website
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 consola from "consola";
|
||||||
import { env } from "$env/dynamic/private";
|
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", {
|
sequelize.define("Announcements", {
|
||||||
title: {
|
title: {
|
||||||
|
Loading…
Reference in New Issue
Block a user