Introduce prettier

This commit is contained in:
Takeshi Kimata
2024-05-19 21:04:45 +09:00
parent cbb5993276
commit 75eeebefda
89 changed files with 872 additions and 944 deletions

View File

@@ -1,9 +1,9 @@
"use strict";
'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.createTable("users", {
await queryInterface.createTable('users', {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
@@ -12,7 +12,7 @@ module.exports = {
email: {
type: Sequelize.STRING,
allowNull: false,
unique: true
unique: true,
},
password: {
type: Sequelize.STRING,
@@ -41,6 +41,6 @@ module.exports = {
},
down: async (queryInterface, Sequelize) => {
await queryInterface.dropTable("users");
await queryInterface.dropTable('users');
},
};