Skip to content

Commit

Permalink
cleanup comments and unused import
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Mar 28, 2024
1 parent fbe6592 commit 83a7d4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/storage/src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod create_tags_20240326125555;

use rusqlite::Connection;
use sea_query::{Cond, Expr, Iden, Query, SqliteQueryBuilder};
use std::{collections::VecDeque, f32::consts::E};
use std::collections::VecDeque;
use tracing::debug;
use ulid::Ulid;

Expand All @@ -25,7 +25,6 @@ pub trait SQLiteMigration {
fn down(&self) -> String;
}

// TODO: Select migration_version from database and skip the migration if already a value exists
pub struct SQLiteMigrator<'conn> {
iterator: Box<dyn Iterator<Item = Box<dyn SQLiteMigration>>>,
applied: VecDeque<Box<dyn SQLiteMigration>>,
Expand Down

0 comments on commit 83a7d4e

Please sign in to comment.