diff --git a/packages/user/src/models/permission.js b/packages/user/src/models/permission.js index c709c90..cc52c9f 100644 --- a/packages/user/src/models/permission.js +++ b/packages/user/src/models/permission.js @@ -13,10 +13,6 @@ class Permission extends Model { this.belongsToMany(User, {through: 'user_permissions'}); } - static get name() { - return 'Permission'; - } - } export default Permission; diff --git a/packages/user/src/models/user.js b/packages/user/src/models/user.js index e369f71..5a19840 100644 --- a/packages/user/src/models/user.js +++ b/packages/user/src/models/user.js @@ -19,10 +19,6 @@ class User extends Model { this.belongsToMany(Permission, {through: 'user_permissions'}); } - static get name() { - return 'User'; - } - } export default User;