2023-01-09 12:35:05 +00:00
|
|
|
import { Sequelize } from 'sequelize';
|
2022-12-05 12:53:30 +00:00
|
|
|
|
|
|
|
const botanicalNames = {
|
2023-01-09 12:35:05 +00:00
|
|
|
tradeItemFk: {
|
|
|
|
type: Sequelize.INTEGER,
|
|
|
|
},
|
|
|
|
name: {
|
|
|
|
type: Sequelize.STRING,
|
|
|
|
},
|
2022-12-05 12:53:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default (sequelize) => {
|
2023-01-09 12:35:05 +00:00
|
|
|
const BotanicalNames = sequelize.define('FDbotanicalNames', botanicalNames, {
|
|
|
|
timestamps: false,
|
|
|
|
freezeTableName: true,
|
|
|
|
});
|
|
|
|
return BotanicalNames;
|
2022-12-05 12:53:30 +00:00
|
|
|
};
|