proposal.ts 431 B

12345678910111213141516171819
  1. import db from '../db'
  2. import { DataTypes } from 'sequelize'
  3. const Proposal = db.define('proposal', {
  4. id: {
  5. type: DataTypes.INTEGER,
  6. primaryKey: true,
  7. },
  8. createdAt: DataTypes.INTEGER,
  9. finalizedAt: DataTypes.INTEGER,
  10. title: DataTypes.STRING,
  11. type: DataTypes.STRING,
  12. stage: DataTypes.STRING,
  13. result: DataTypes.STRING,
  14. executed: DataTypes.STRING,
  15. parameters: DataTypes.STRING,
  16. })
  17. export default Proposal