mirror of
https://github.com/openziti/zrok.git
synced 2025-08-17 03:11:17 +02:00
add share_mode and backend_mode to sql structures (#103)
This commit is contained in:
13
controller/store/sql/postgresql/003_v0_3_0_service_modes.sql
Normal file
13
controller/store/sql/postgresql/003_v0_3_0_service_modes.sql
Normal file
@ -0,0 +1,13 @@
|
||||
-- +migrate Up
|
||||
|
||||
create type share_mode as enum ('public', 'private');
|
||||
create type backend_mode as enum ('proxy', 'web', 'dav');
|
||||
|
||||
alter table services
|
||||
add column share_mode share_mode not null default 'public',
|
||||
add column backend_mode backend_mode not null default 'proxy';
|
||||
|
||||
alter table services
|
||||
alter column share_mode drop default;
|
||||
alter table services
|
||||
alter column backend_mode drop default;
|
Reference in New Issue
Block a user