From 7838c1abbe8968ff6e9829a358581d03598d3692 Mon Sep 17 00:00:00 2001 From: b1ek Date: Wed, 22 Feb 2023 23:55:34 +1000 Subject: [PATCH] add articles migration --- migrations/20230222134124-create-users.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 migrations/20230222134124-create-users.js diff --git a/migrations/20230222134124-create-users.js b/migrations/20230222134124-create-users.js new file mode 100644 index 0000000..b6e01de --- /dev/null +++ b/migrations/20230222134124-create-users.js @@ -0,0 +1,22 @@ +'use strict'; + +/** @type {import('sequelize-cli').Migration} */ +module.exports = { + async up (queryInterface, Sequelize) { + /** + * Add altering commands here. + * + * Example: + * await queryInterface.createTable('users', { id: Sequelize.INTEGER }); + */ + }, + + async down (queryInterface, Sequelize) { + /** + * Add reverting commands here. + * + * Example: + * await queryInterface.dropTable('users'); + */ + } +};