This commit is contained in:
ryanwong
2022-02-06 20:45:55 -05:00
parent 85f869a64a
commit 9ec9c8a4f7
19 changed files with 425 additions and 1 deletions
+5
View File
@@ -2,6 +2,11 @@ module.exports = (sequelize, DataTypes) => {
const location = sequelize.define(
"location",
{
id: {
type: DataTypes.INTEGER,
primaryKey: true,
autoIncrement: true,
},
name: DataTypes.STRING,
created_at: DataTypes.DATEONLY,
updated_at: DataTypes.DATE,