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