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';
module.exports = () => ({
// TODO: Implement
getReservedNames() {
return {
models: [],
attributes: [],
models: ['boolean', 'date', 'date-time', 'time', 'upload'],
attributes: ['id', 'created_at', 'updated_at', 'created_by', 'updated_by', 'published_at'],
};
// strapi.db.getReservedNames();
},