auto commit

This commit is contained in:
bangdk 2024-11-15 17:20:52 +09:00
parent 14c6448f1b
commit b01246cf62
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class Company extends Model {
allowNull: false,
},
businessNumber: {
type: DataTypes.STRING(20),
type: DataTypes.BIGINT,
allowNull: false,
unique: true,
},

View File

@ -21,7 +21,7 @@ async function createInitialAdmin() {
if (!adminCompany) {
adminCompany = await Company.create({
name: "FEMS 관리자",
businessNumber: "439-78-02852",
businessNumber: 4397802852,
address: "서울시 강남구",
tel: "02-0000-0000",
email: "admin@fems.com",