auto commit
This commit is contained in:
parent
14c6448f1b
commit
b01246cf62
@ -15,7 +15,7 @@ class Company extends Model {
|
|||||||
allowNull: false,
|
allowNull: false,
|
||||||
},
|
},
|
||||||
businessNumber: {
|
businessNumber: {
|
||||||
type: DataTypes.STRING(20),
|
type: DataTypes.BIGINT,
|
||||||
allowNull: false,
|
allowNull: false,
|
||||||
unique: true,
|
unique: true,
|
||||||
},
|
},
|
||||||
|
@ -21,7 +21,7 @@ async function createInitialAdmin() {
|
|||||||
if (!adminCompany) {
|
if (!adminCompany) {
|
||||||
adminCompany = await Company.create({
|
adminCompany = await Company.create({
|
||||||
name: "FEMS 관리자",
|
name: "FEMS 관리자",
|
||||||
businessNumber: "439-78-02852",
|
businessNumber: 4397802852,
|
||||||
address: "서울시 강남구",
|
address: "서울시 강남구",
|
||||||
tel: "02-0000-0000",
|
tel: "02-0000-0000",
|
||||||
email: "admin@fems.com",
|
email: "admin@fems.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user