mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix copy-and-paste mistake
This commit is contained in:
parent
7b2d5245d7
commit
9e0333c9fe
@ -5,6 +5,6 @@ export class InvalidTransaction {
|
||||
@PrimaryGeneratedColumn('increment', { unsigned: true, type: 'bigint' })
|
||||
id: number
|
||||
|
||||
@Column({ name: 'iota_message_id', type: 'binary', length: 32, nullable: true })
|
||||
iotaMessageId?: Buffer
|
||||
@Column({ name: 'iota_message_id', type: 'binary', length: 32 })
|
||||
iotaMessageId: Buffer
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
||||
await queryFn(`
|
||||
CREATE TABLE IF NOT EXISTS \`invalid_transactions\` (
|
||||
\`id\` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
\`iota_message_id\` binary(32) DEFAULT NULL,
|
||||
\`iota_message_id\` binary(32) NOT NULL,
|
||||
PRIMARY KEY (\`id\`),
|
||||
INDEX (\`iota_message_id\`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;`)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user