18 lines
307 B
JavaScript
18 lines
307 B
JavaScript
module.exports = (sequelize, { STRING }) => {
|
|
return sequelize.define(
|
|
'Tor',
|
|
{
|
|
address: {
|
|
type : STRING,
|
|
allowNull: false,
|
|
},
|
|
fingerprint: {
|
|
type : STRING,
|
|
allowNull: true,
|
|
},
|
|
},
|
|
{
|
|
freezeTableName: true,
|
|
}
|
|
);
|
|
};
|