more renaming
This commit is contained in:
parent
a958842bf6
commit
f42ae5fc1d
6 changed files with 22 additions and 22 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const { DataTypes } = require('sequelize');
|
||||
const sequelize = require('../database');
|
||||
|
||||
const Session = sequelize.define('Session', {
|
||||
const SessionCreated = sequelize.define('SessionCreated', {
|
||||
uuid: {
|
||||
type: DataTypes.UUID,
|
||||
allowNull: false,
|
||||
|
|
@ -17,7 +17,7 @@ const Session = sequelize.define('Session', {
|
|||
allowNull: false
|
||||
}
|
||||
}, {
|
||||
tableName: 'session'
|
||||
tableName: 'session_created'
|
||||
});
|
||||
|
||||
module.exports = Session;
|
||||
module.exports = SessionCreated;
|
||||
Loading…
Add table
Add a link
Reference in a new issue