Skip to content

Commit e1fd36f

Browse files
committed
add some spaces to comments
1 parent a64b0cc commit e1fd36f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cli/src/commands/add.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ pub async fn add(
2121
let mut migration_content = String::new();
2222

2323
// Header with metadata
24-
migration_content.push_str("-- Migration generated by dbdev add at:");
24+
migration_content.push_str("-- Migration generated by dbdev add at: ");
2525
migration_content.push_str(&Utc::now().format("%Y-%m-%d %H:%M:%S").to_string());
2626
migration_content.push('\n');
2727

2828
migration_content.push_str("-- Extension: ");
2929
migration_content.push_str(&payload.metadata.extension_name);
3030
migration_content.push('\n');
3131

32-
migration_content.push_str("-- Default version:");
32+
migration_content.push_str("-- Default version: ");
3333
migration_content.push_str(&payload.metadata.default_version);
3434
migration_content.push('\n');
3535

3636
if let Some(comment) = &payload.metadata.comment {
37-
migration_content.push_str("-- Comment:");
37+
migration_content.push_str("-- Comment: ");
3838
migration_content.push_str(comment);
3939
migration_content.push('\n');
4040
}
@@ -69,7 +69,7 @@ pub async fn add(
6969
versions_installed_now.insert(install_file.version.clone());
7070
} else {
7171
// For initial installation
72-
migration_content.push_str("-- Initial installation of version:");
72+
migration_content.push_str("-- Initial installation of version: ");
7373
migration_content.push_str(&install_file.version);
7474
migration_content.push('\n');
7575

0 commit comments

Comments
 (0)