mirror of
https://github.com/openziti/zrok.git
synced 2025-08-16 02:47:56 +02:00
revised frontends schema (#20)
This commit is contained in:
@ -1,13 +1,10 @@
|
||||
-- +migrate Up
|
||||
|
||||
create type availability_type as enum ('public', 'private');
|
||||
|
||||
create table frontends (
|
||||
id serial primary key,
|
||||
environment_id integer references environments(id),
|
||||
z_id varchar(32) not null unique,
|
||||
name varchar(64) unique,
|
||||
type availability_type 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