feat(migration): Added initial migrations
This commit is contained in:
14
migrations/00001_create_service_table.sql
Normal file
14
migrations/00001_create_service_table.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- +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;
|
||||
Reference in New Issue
Block a user