create cases table

This commit is contained in:
Takeshi Kimata
2024-02-12 18:47:39 +09:00
parent b23922c8e5
commit 291bad6d56
9 changed files with 255 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
/** @type {import('sequelize-cli').Migration} */
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.createTable('Projects', {
await queryInterface.createTable('projects', {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
@@ -29,6 +29,6 @@ module.exports = {
},
down: async (queryInterface, Sequelize) => {
await queryInterface.dropTable('Projects');
await queryInterface.dropTable('projects');
},
};