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