UNPKG

synt_backend

Version:

Synt light-weight node backend service

25 lines (24 loc) 533 B
"use strict"; module.exports = { up: async (queryInterface, Sequelize) => { await queryInterface.createTable("Labels", { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER, }, createdAt: { allowNull: false, type: Sequelize.DATE, }, updatedAt: { allowNull: false, type: Sequelize.DATE, }, }); }, down: async (queryInterface) => { await queryInterface.dropTable("Labels"); }, };