|
|
@@ -2,9 +2,9 @@ module.exports = function(crowi) {
|
|
|
const mongoose = require('mongoose');
|
|
|
|
|
|
const slackAppIntegrationSchema = new mongoose.Schema({
|
|
|
- accessTokenForGrowi: { type: String, required: true, unique: true },
|
|
|
- accessTokenForProxy: { type: String, required: true, unique: true },
|
|
|
+ tokenGtoP: { type: String, required: true, unique: true },
|
|
|
+ tokenPtoG: { type: String, required: true, unique: true },
|
|
|
});
|
|
|
|
|
|
- return mongoose.model('SlackAppIntegrationSchema', slackAppIntegrationSchema);
|
|
|
+ return mongoose.model('SlackAppIntegration', slackAppIntegrationSchema);
|
|
|
};
|