mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 03:39:58 +02:00
new bandwidth_limit_journal table (#606)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- +migrate Up
|
||||
|
||||
drop table account_limit_journal;
|
||||
drop table environment_limit_journal;
|
||||
drop table share_limit_journal;
|
||||
|
||||
create table bandwidth_limit_journal (
|
||||
id serial primary key,
|
||||
account_id integer references accounts (id) not null,
|
||||
limit_class integer references limit_classes,
|
||||
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)
|
||||
);
|
Reference in New Issue
Block a user