import db from '../db' import { DataTypes } from 'sequelize' const Post = db.define('post', { id: { type: DataTypes.INTEGER, primaryKey: true, }, text: DataTypes.TEXT, createdAt: DataTypes.INTEGER, }) export default Post