Alexandre Bodin 7e41e28bf8 Add checks for timestamps attributes to avoid conflicts with timestamps option
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00

14 lines
354 B
JavaScript

'use strict';
const checkDuplicatedTableNames = require('./check-duplicated-table-names');
const checkReservedNames = require('./check-reserved-names');
const validateModelSchemas = ({ strapi, manager }) => {
checkDuplicatedTableNames({ strapi, manager });
checkReservedNames({ strapi, manager });
};
module.exports = {
validateModelSchemas,
};