При запуске вот такие ошибки:
DatabaseError [SequelizeDatabaseError]: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Query.formatError (d:\Games\diamond\node_modules\sequelize\lib\dialects\mariadb\query.js:285:16)
at d:\Games\diamond\node_modules\sequelize\lib\dialects\mariadb\query.js:68:22
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
parent: SqlError: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Object.module.exports.createError (d:\Games\diamond\node_modules\mariadb\lib\misc\errors.js:61:10)
at PacketNodeEncoded.readError (d:\Games\diamond\node_modules\mariadb\lib\io\packet.js:505:19)
at Query.readResponsePacket (d:\Games\diamond\node_modules\mariadb\lib\cmd\resultset.js:46:28)
at PacketInputStream.receivePacketBasic (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:104:9)
at PacketInputStream.onData (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:169:20)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:307:12)
at readableAddChunk (_stream_readable.js:282:9)
at Socket.Readable.push (_stream_readable.js:221:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
text: 'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead',
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
fatal: false,
errno: 1171,
sqlState: '42000',
code: 'ER_PRIMARY_CANT_HAVE_NULL',
parameters: undefined
},
original: SqlError: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Object.module.exports.createError (d:\Games\diamond\node_modules\mariadb\lib\misc\errors.js:61:10)
at PacketNodeEncoded.readError (d:\Games\diamond\node_modules\mariadb\lib\io\packet.js:505:19)
at Query.readResponsePacket (d:\Games\diamond\node_modules\mariadb\lib\cmd\resultset.js:46:28)
at PacketInputStream.receivePacketBasic (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:104:9)
at PacketInputStream.onData (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:169:20)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:307:12)
at readableAddChunk (_stream_readable.js:282:9)
at Socket.Readable.push (_stream_readable.js:221:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
text: 'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead',
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
fatal: false,
errno: 1171,
sqlState: '42000',
code: 'ER_PRIMARY_CANT_HAVE_NULL',
parameters: undefined
},
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
parameters: undefined
} Unhandled Rejection at Promise Promise [Object] {
_bitField: 18087936,
_fulfillmentHandler0: DatabaseError [SequelizeDatabaseError]: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Query.formatError (d:\Games\diamond\node_modules\sequelize\lib\dialects\mariadb\query.js:285:16)
at d:\Games\diamond\node_modules\sequelize\lib\dialects\mariadb\query.js:68:22
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
parent: SqlError: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Object.module.exports.createError (d:\Games\diamond\node_modules\mariadb\lib\misc\errors.js:61:10)
at PacketNodeEncoded.readError (d:\Games\diamond\node_modules\mariadb\lib\io\packet.js:505:19)
at Query.readResponsePacket (d:\Games\diamond\node_modules\mariadb\lib\cmd\resultset.js:46:28)
at PacketInputStream.receivePacketBasic (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:104:9)
at PacketInputStream.onData (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:169:20)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:307:12)
at readableAddChunk (_stream_readable.js:282:9)
at Socket.Readable.push (_stream_readable.js:221:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
text: 'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead',
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
fatal: false,
errno: 1171,
sqlState: '42000',
code: 'ER_PRIMARY_CANT_HAVE_NULL',
parameters: undefined
},
original: SqlError: (conn=75, no: 1171, SQLState: 42000) All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
sql: CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci; - parameters:[]
at Object.module.exports.createError (d:\Games\diamond\node_modules\mariadb\lib\misc\errors.js:61:10)
at PacketNodeEncoded.readError (d:\Games\diamond\node_modules\mariadb\lib\io\packet.js:505:19)
at Query.readResponsePacket (d:\Games\diamond\node_modules\mariadb\lib\cmd\resultset.js:46:28)
at PacketInputStream.receivePacketBasic (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:104:9)
at PacketInputStream.onData (d:\Games\diamond\node_modules\mariadb\lib\io\packet-input-stream.js:169:20)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:307:12)
at readableAddChunk (_stream_readable.js:282:9)
at Socket.Readable.push (_stream_readable.js:221:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23) {
text: 'All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead',
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
fatal: false,
errno: 1171,
sqlState: '42000',
code: 'ER_PRIMARY_CANT_HAVE_NULL',
parameters: undefined
},
sql: "CREATE TABLE IF NOT EXISTS pAFk3qiAgG1_log_auth
(id
INTEGER(11) NOT NULL auto_increment DEFAULT NULL , nick
VARCHAR(128) NOT NULL DEFAULT '', lic
VARCHAR(512) NOT NULL DEFAULT '', datetime
INTEGER(11) NOT NULL DEFAULT 0, PRIMARY KEY (id
)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;",
parameters: undefined
},
_rejectionHandler0: undefined,
_promise0: undefined,
_receiver0: undefined
}