greenlock-store-sequelize.js/db/keypair.js

19 lines
301 B
JavaScript
Raw Normal View History

'use strict';
module.exports = function (sequelize, DataTypes) {
var Keypair = sequelize.define('Keypair',{
xid: {
type: DataTypes.STRING,
unique: true
},
content: {
type: DataTypes.TEXT
}
});
Keypair.associate = function(models) {
};
return Keypair;
};