mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
add static list of reserved names
This commit is contained in:
parent
dc0893372f
commit
40657b3a18
@ -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();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user