add static list of reserved names

This commit is contained in:
Dieter Stinglhamber 2021-11-02 13:56:50 +01:00
parent dc0893372f
commit 40657b3a18

View File

@ -1,11 +1,10 @@
'use strict'; 'use strict';
module.exports = () => ({ module.exports = () => ({
// TODO: Implement
getReservedNames() { getReservedNames() {
return { return {
models: [], models: ['boolean', 'date', 'date-time', 'time', 'upload'],
attributes: [], attributes: ['id', 'created_at', 'updated_at', 'created_by', 'updated_by', 'published_at'],
}; };
// strapi.db.getReservedNames(); // strapi.db.getReservedNames();
}, },