mirror of
https://github.com/openziti/zrok.git
synced 2025-08-13 09:47:37 +02:00
agent enrollment store implementation (#967)
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
-- +migrate Up
|
||||
|
||||
create table agent_enrollments (
|
||||
id serial primary key,
|
||||
|
||||
environment_id integer not null references environments(id),
|
||||
token varchar(32) not null unique,
|
||||
|
||||
created_at timestamptz not null default(current_timestamp),
|
||||
updated_at timestamptz not null default(current_timestamp),
|
||||
deleted boolean not null default(false)
|
||||
);
|
||||
|
||||
create index agent_enrollments_environment_id_idx on agent_enrollments(environment_id);
|
Reference in New Issue
Block a user