fix: identity status - TMDb and user_defined identities start as 'pending' (確認制)
This commit is contained in:
@@ -3950,7 +3950,7 @@ sqlx::query(
|
||||
// Not found: create new with generated uuid
|
||||
let id: i32 = sqlx::query_scalar(&format!(
|
||||
"INSERT INTO {} (uuid, name, identity_type, source, status) \
|
||||
VALUES (gen_random_uuid(), $1, 'people', 'user_defined', 'confirmed') \
|
||||
VALUES (gen_random_uuid(), $1, 'people', 'user_defined', 'pending') \
|
||||
RETURNING id",
|
||||
identities_table
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user