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