Skip to content

Commit 34b1074

Browse files
committed
update test db
1 parent f7eb4ad commit 34b1074

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

optd-persistent/src/bin/init.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async fn init_all_tables() -> Result<(), sea_orm::error::DbErr> {
6363
name: Set("user_id".to_owned()),
6464
compression_method: Set("N".to_owned()),
6565
variant_tag: Set(AttrType::Integer as i32),
66-
base_attribute_number: Set(1),
66+
base_attribute_number: Set(0),
6767
is_not_null: Set(true),
6868
};
6969
let attribute2 = attribute::ActiveModel {
@@ -72,7 +72,7 @@ async fn init_all_tables() -> Result<(), sea_orm::error::DbErr> {
7272
name: Set("username".to_owned()),
7373
compression_method: Set("N".to_owned()),
7474
variant_tag: Set(AttrType::Varchar as i32),
75-
base_attribute_number: Set(2),
75+
base_attribute_number: Set(1),
7676
is_not_null: Set(true),
7777
};
7878
attribute::Entity::insert(attribute1)

optd-persistent/src/db/init.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)