ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
682 B

  1. import * as Sequelize from 'sequelize'
  2. async function up (utils: {
  3. transaction: Sequelize.Transaction
  4. queryInterface: Sequelize.QueryInterface
  5. sequelize: Sequelize.Sequelize
  6. }): Promise<void> {
  7. await utils.queryInterface.addColumn('videoAbuse', 'predefinedReasons', {
  8. type: Sequelize.ARRAY(Sequelize.INTEGER),
  9. allowNull: true
  10. })
  11. await utils.queryInterface.addColumn('videoAbuse', 'startAt', {
  12. type: Sequelize.INTEGER,
  13. allowNull: true
  14. })
  15. await utils.queryInterface.addColumn('videoAbuse', 'endAt', {
  16. type: Sequelize.INTEGER,
  17. allowNull: true
  18. })
  19. }
  20. function down (options) {
  21. throw new Error('Not implemented.')
  22. }
  23. export {
  24. up,
  25. down
  26. }