20 lines
428 B
JavaScript
20 lines
428 B
JavaScript
import { Sequelize } from 'sequelize';
|
|
|
|
const countryOfOriginIsoCodes = {
|
|
isoCode: {
|
|
type: Sequelize.STRING,
|
|
},
|
|
};
|
|
|
|
export default (sequelize) => {
|
|
const CountryOfOriginIsoCodes = sequelize.define(
|
|
'tradeItem_countryOfOriginIsoCodes',
|
|
countryOfOriginIsoCodes,
|
|
{
|
|
timestamps: false,
|
|
freezeTableName: true,
|
|
}
|
|
);
|
|
return CountryOfOriginIsoCodes;
|
|
};
|