Set up sequelize

This commit is contained in:
Jorge Vargas 2024-08-19 00:28:48 -06:00
parent 6833439a4a
commit 87c08df02b
47 changed files with 2171 additions and 6 deletions

View file

@ -0,0 +1,11 @@
import { DataTypes } from 'sequelize'
const model = (sequelize) => {
const Download = sequelize.define('download', {
title: DataTypes.STRING,
small: DataTypes.BOOLEAN
})
return Download
}
export default model