mirror of
https://github.com/openziti/zrok.git
synced 2024-11-29 11:34:07 +01:00
limits ddl for sqlite (#606)
This commit is contained in:
parent
5d72890d32
commit
1238c4981c
16
controller/store/sql/sqlite3/022_v0_4_31_limits_classes.sql
Normal file
16
controller/store/sql/sqlite3/022_v0_4_31_limits_classes.sql
Normal file
@ -0,0 +1,16 @@
|
||||
-- +migrate Up
|
||||
|
||||
create table limits_classes (
|
||||
id serial primary key,
|
||||
limit_scope string not null default ('account'),
|
||||
limit_action string not null default ('limit'),
|
||||
share_mode string,
|
||||
backend_mode string,
|
||||
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)
|
||||
)
|
Loading…
Reference in New Issue
Block a user