mirror of
https://github.com/openziti/zrok.git
synced 2025-08-16 19:01:16 +02:00
sqlite schema tweaks for bandwidth_limit_journal (#606)
This commit is contained in:
@ -11,6 +11,8 @@ create table bandwidth_limit_journal (
|
|||||||
action string not null,
|
action string not null,
|
||||||
rx_bytes bigint not null,
|
rx_bytes bigint not null,
|
||||||
tx_bytes bigint not null,
|
tx_bytes bigint not null,
|
||||||
created_at timestamptz not null default(current_timestamp),
|
created_at timestamptz not null default(strftime('%Y-%m-%d %H:%M:%f', 'now')),
|
||||||
updated_at timestamptz not null default(current_timestamp)
|
updated_at timestamptz not null default(strftime('%Y-%m-%d %H:%M:%f', 'now'))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
create index bandwidth_limit_journal_account_id_idx on bandwidth_limit_journal (account_id);
|
Reference in New Issue
Block a user