Skip to content

Commit 563fc82

Browse files
committed
chore: add database migration for 'CardanoTransactions' signed entity type
1 parent bab0560 commit 563fc82

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mithril-aggregator/src/database/migration.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,5 +610,14 @@ alter table open_message add column is_expired bool not null default false;
610610
alter table open_message add column expires_at text null;
611611
"#,
612612
),
613+
// Migration 21
614+
// Add the `signed_entity_type` record for 'CardanoTransactions'
615+
SqlMigration::new(
616+
21,
617+
r#"
618+
insert into signed_entity_type (signed_entity_type_id, name)
619+
values (3, 'Cardano Transactions');
620+
"#,
621+
),
613622
]
614623
}

0 commit comments

Comments
 (0)