diff --git a/query-engine/query-engine-c-abi/src/migrations.rs b/query-engine/query-engine-c-abi/src/migrations.rs index 93a80cde5fb7..4cd374705ba5 100644 --- a/query-engine/query-engine-c-abi/src/migrations.rs +++ b/query-engine/query-engine-c-abi/src/migrations.rs @@ -44,14 +44,14 @@ impl From for MigrationDirectory { #[derive(Debug, Clone)] pub struct MigrationRecord { /// A unique, randomly generated identifier. - pub _id: String, + pub id: String, /// The timestamp at which the migration completed *successfully*. pub finished_at: Option, /// The name of the migration, i.e. the name of migration directory /// containing the migration script. pub migration_name: String, /// The time the migration started being applied. - pub _started_at: Timestamp, + pub started_at: Timestamp, /// The time the migration failed pub failed_at: Option, } @@ -142,9 +142,9 @@ pub fn list_migrations(database_filename: &Path) -> Result> let failed_at: Option = row.get(4).unwrap(); entries.push(MigrationRecord { - _id: id, + id, migration_name, - _started_at: started_at, + started_at, finished_at, failed_at, });