mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 00:04:43 +02:00
This commit is contained in:
@ -5,14 +5,21 @@ create type limit_action as enum ('warning', 'limit');
|
||||
|
||||
create table limit_classes (
|
||||
id serial primary key,
|
||||
|
||||
limit_scope limit_scope not null default ('account'),
|
||||
limit_action limit_action not null default ('limit'),
|
||||
share_mode share_mode,
|
||||
backend_mode backend_mode,
|
||||
|
||||
environments int not null default (-1),
|
||||
shares int not null default (-1),
|
||||
reserved_shares int not null default (-1),
|
||||
unique_names int not null default (-1),
|
||||
period_minutes int not null default (1440),
|
||||
rx_bytes bigint not null default (-1),
|
||||
tx_bytes bigint not null default (-1),
|
||||
total_bytes bigint not null default (-1),
|
||||
|
||||
created_at timestamptz not null default(current_timestamp),
|
||||
updated_at timestamptz not null default(current_timestamp),
|
||||
deleted boolean not null default(false)
|
||||
|
Reference in New Issue
Block a user