|
|
@@ -0,0 +1,10 @@
|
|
|
+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 },
|
|
|
+ });
|
|
|
+
|
|
|
+ return mongoose.model('SlackAppIntegrationSchema', slackAppIntegrationSchema);
|
|
|
+};
|