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