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