annonce @home / admin / controller / route / api

This commit is contained in:
les
2020-02-16 21:03:50 +01:00
parent a1204c24e1
commit 04e2dc07aa
15 changed files with 313 additions and 15 deletions

View File

@@ -7,12 +7,10 @@ module.exports = {
primaryKey: true,
type: Sequelize.INTEGER
},
announce: {
title: Sequelize.STRING,
announcement: {
type: Sequelize.STRING
},
until: {
type: Sequelize.DATE
},
visible: Sequelize.BOOLEAN,
createdAt: {
allowNull: false,