Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
puripuri2100 committed Aug 11, 2023
1 parent 162a589 commit 250c227
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion migrations/20230708195131_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE TABLE equipment (
qr_id text NOT NULL,
qr_color text NOT NULL,
name text NOT NULL,
descripiton text,
description text,
model_number text,
storage text NOT NULL,
usage text,
Expand Down
6 changes: 3 additions & 3 deletions src/database/insert_equipment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ where
qr_id,
qr_color,
name,
descripiton,
description,
model_number,
storage,
usage,
Expand All @@ -28,7 +28,7 @@ where
qr_id,
qr_color,
name,
descripiton,
description,
model_number,
storage,
usage,
Expand All @@ -41,7 +41,7 @@ where
qr_id,
qr_color.to_string(),
name,
descripiton,
description,
model_number,
storage.to_string(),
usage,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct Equipment {
/// 物品名
pub name: String,
/// 説明
pub descripiton: Option<String>,
pub description: Option<String>,
/// 型番
pub model_number: Option<String>,
/// 保管場所
Expand Down

0 comments on commit 250c227

Please sign in to comment.