From d346b62e23b773af5b5592f71c43e41af4cafaa9 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 25 Oct 2022 04:31:27 +0000 Subject: [PATCH] fix migration imports --- TODO.md | 1 + migration/src/m20220101_000001_create_table.rs | 1 + migration/src/m20220921_181610_log_reverts.rs | 1 + migration/src/m20220928_015108_concurrency_limits.rs | 1 + migration/src/m20221007_213828_accounting.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/TODO.md b/TODO.md index eafea965..fee0b1d9 100644 --- a/TODO.md +++ b/TODO.md @@ -249,6 +249,7 @@ These are roughly in order of completition - but block numbers count is maxed out (10k) - and block hashes count is tiny (83) - what is going on? +- [ ] after adding semaphores (or maybe something else), CPU load seems a lot higher. investigate ## V1 diff --git a/migration/src/m20220101_000001_create_table.rs b/migration/src/m20220101_000001_create_table.rs index 44e48bde..a0e4261a 100644 --- a/migration/src/m20220101_000001_create_table.rs +++ b/migration/src/m20220101_000001_create_table.rs @@ -1,4 +1,5 @@ use sea_orm_migration::prelude::*; +use sea_orm_migration::sea_query::table::ColumnDef; #[derive(DeriveMigrationName)] pub struct Migration; diff --git a/migration/src/m20220921_181610_log_reverts.rs b/migration/src/m20220921_181610_log_reverts.rs index 80944cc9..25e80f8e 100644 --- a/migration/src/m20220921_181610_log_reverts.rs +++ b/migration/src/m20220921_181610_log_reverts.rs @@ -1,4 +1,5 @@ use sea_orm_migration::prelude::*; +use sea_orm_migration::sea_query::table::ColumnDef; #[derive(DeriveMigrationName)] pub struct Migration; diff --git a/migration/src/m20220928_015108_concurrency_limits.rs b/migration/src/m20220928_015108_concurrency_limits.rs index 28394257..76a50a49 100644 --- a/migration/src/m20220928_015108_concurrency_limits.rs +++ b/migration/src/m20220928_015108_concurrency_limits.rs @@ -1,4 +1,5 @@ use sea_orm_migration::prelude::*; +use sea_orm_migration::sea_query::table::ColumnDef; #[derive(DeriveMigrationName)] pub struct Migration; diff --git a/migration/src/m20221007_213828_accounting.rs b/migration/src/m20221007_213828_accounting.rs index f8b44d44..cfb43ffc 100644 --- a/migration/src/m20221007_213828_accounting.rs +++ b/migration/src/m20221007_213828_accounting.rs @@ -1,4 +1,5 @@ use sea_orm_migration::prelude::*; +use sea_orm_migration::sea_query::table::ColumnDef; #[derive(DeriveMigrationName)] pub struct Migration;