Files
status/migrations/00001_create_service_table.sql

15 lines
430 B
SQL

-- +goose Up
create table if not exists service
(
id bigserial primary key,
name varchar(255) not null,
description varchar(255),
host varchar(255) not null,
type varchar(255) not null,
type_config text,
public_description varchar(255),
public boolean default false
);
-- +goose Down
drop table if exists service;