change length of messageid to 64

This commit is contained in:
Claus-Peter Huebner 2023-07-28 03:09:58 +02:00
parent 928ebb88a0
commit f86ebdc65c
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export class DltTransaction extends BaseEntity {
@Column({
name: 'message_id',
length: 40,
length: 64,
nullable: true,
default: null,
collation: 'utf8mb4_unicode_ci',

View File

@ -6,7 +6,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
CREATE TABLE dlt_transactions (
id int unsigned NOT NULL AUTO_INCREMENT,
transactions_id int(10) unsigned NOT NULL,
message_id varchar(40) NULL DEFAULT NULL,
message_id varchar(64) NULL DEFAULT NULL,
verified tinyint(4) NOT NULL DEFAULT 0,
created_at datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
verified_at datetime(3),