- passes https://git.coolaj86.com/coolaj86/greenlock-store-test.js - lacks working approveDomains example - not 100% sure wildcards are fully supported - not tested in production
19 lines
302 B
JavaScript
19 lines
302 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (sequelize, DataTypes) {
|
|
var Domain = sequelize.define('Domain',{
|
|
subject: {
|
|
type: DataTypes.STRING,
|
|
unique: true
|
|
},
|
|
altnames: {
|
|
type: DataTypes.TEXT
|
|
}
|
|
});
|
|
|
|
Domain.associate = function(models) {
|
|
};
|
|
|
|
return Domain;
|
|
};
|