diff --git a/controller/store/sql/sqlite3/022_v0_4_31_limits_classes.sql b/controller/store/sql/sqlite3/022_v0_4_31_limits_classes.sql new file mode 100644 index 00000000..70792f1e --- /dev/null +++ b/controller/store/sql/sqlite3/022_v0_4_31_limits_classes.sql @@ -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) +) \ No newline at end of file