19 lines
389 B
JavaScript
19 lines
389 B
JavaScript
import { Sequelize } from 'sequelize';
|
|
|
|
const botanicalNames = {
|
|
tradeItemFk: {
|
|
type: Sequelize.INTEGER,
|
|
},
|
|
name: {
|
|
type: Sequelize.STRING,
|
|
},
|
|
};
|
|
|
|
export default (sequelize) => {
|
|
const BotanicalNames = sequelize.define('FDbotanicalNames', botanicalNames, {
|
|
timestamps: false,
|
|
freezeTableName: true,
|
|
});
|
|
return BotanicalNames;
|
|
};
|