Улучшение безопасности и обработки ошибок. Этап 1. #8
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
password_hash :: binary(),
|
||||
role :: user | bot,
|
||||
status :: active | frozen | deleted,
|
||||
reason :: binary() | undefined,
|
||||
created_at :: calendar:datetime(),
|
||||
updated_at :: calendar:datetime()
|
||||
}).
|
||||
@@ -51,6 +52,7 @@
|
||||
rating_avg :: float(),
|
||||
rating_count :: non_neg_integer(),
|
||||
status :: active | frozen | deleted,
|
||||
reason :: binary() | undefined,
|
||||
created_at :: calendar:datetime(),
|
||||
updated_at :: calendar:datetime()
|
||||
}).
|
||||
@@ -85,6 +87,7 @@
|
||||
capacity :: integer() | undefined,
|
||||
online_link :: binary() | undefined,
|
||||
status :: active | cancelled | completed,
|
||||
reason :: binary() | undefined,
|
||||
rating_avg :: float(),
|
||||
rating_count :: non_neg_integer(),
|
||||
created_at :: calendar:datetime(),
|
||||
@@ -118,6 +121,7 @@
|
||||
rating :: 1..5,
|
||||
comment :: binary(),
|
||||
status :: visible | hidden | deleted,
|
||||
reason :: binary() | undefined,
|
||||
created_at :: calendar:datetime(),
|
||||
updated_at :: calendar:datetime()
|
||||
}).
|
||||
|
||||
Reference in New Issue
Block a user