Ролевая модель и аудит Часть 2. Финал. #6
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
-define(TABLES, [
|
||||
user, session, admin, admin_session, calendar, calendar_share, event, recurrence_exception,
|
||||
booking, review, report, banned_word, ticket, subscription, audit_log
|
||||
booking, review, report, banned_word, ticket, subscription, admin_audit
|
||||
]).
|
||||
|
||||
start_link() ->
|
||||
@@ -138,8 +138,8 @@ table_opts(subscription) ->
|
||||
{attributes, record_info(fields, subscription)},
|
||||
{ram_copies, [node()]}
|
||||
];
|
||||
table_opts(audit_log) ->
|
||||
table_opts(admin_audit) ->
|
||||
[
|
||||
{attributes, record_info(fields, audit_log)},
|
||||
{attributes, record_info(fields, admin_audit)},
|
||||
{ram_copies, [node()]}
|
||||
].
|
||||
Reference in New Issue
Block a user