rename model
This commit is contained in:
parent
9ed583ecdb
commit
a958842bf6
2 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../database');
|
||||
|
||||
const AppInvite = sequelize.define('AppInvite', {
|
||||
const AppInviteCreated = sequelize.define('AppInviteCreated', {
|
||||
uuid: {
|
||||
type: DataTypes.UUID,
|
||||
allowNull: false,
|
||||
|
|
@ -17,7 +17,7 @@ const AppInvite = sequelize.define('AppInvite', {
|
|||
allowNull: false
|
||||
}
|
||||
}, {
|
||||
tableName: 'app_invite'
|
||||
tableName: 'app_invite_created'
|
||||
});
|
||||
|
||||
module.exports = AppInvite;
|
||||
module.exports = AppInviteCreated;
|
||||
Loading…
Add table
Add a link
Reference in a new issue