floriday/models/tradeItem/countryOfOriginIsoCodes.js

20 lines
418 B
JavaScript
Raw Normal View History

import { Sequelize } from 'sequelize';
2022-12-05 12:53:30 +00:00
const countryOfOriginIsoCodes = {
isoCode: {
type: Sequelize.STRING,
},
2022-12-05 12:53:30 +00:00
};
export default (sequelize) => {
const CountryOfOriginIsoCodes = sequelize.define(
'countryOfOriginIsoCodes',
countryOfOriginIsoCodes,
{
timestamps: false,
freezeTableName: true,
}
);
return CountryOfOriginIsoCodes;
2022-12-05 12:53:30 +00:00
};