mirror of
https://github.com/openziti/zrok.git
synced 2025-06-19 17:27:54 +02:00
sqlite schema tweaks for bandwidth_limit_journal (#606)
This commit is contained in:
parent
481cc7f7ad
commit
d2d3adc5cc
@ -11,6 +11,8 @@ create table bandwidth_limit_journal (
|
||||
action string not null,
|
||||
rx_bytes bigint not null,
|
||||
tx_bytes bigint not null,
|
||||
created_at timestamptz not null default(current_timestamp),
|
||||
updated_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(strftime('%Y-%m-%d %H:%M:%f', 'now'))
|
||||
);
|
||||
|
||||
create index bandwidth_limit_journal_account_id_idx on bandwidth_limit_journal (account_id);
|
Loading…
x
Reference in New Issue
Block a user