Files
isp-config-service/migrations/00008_2020-06-03_create_version_config_table.sql
T

14 lines
359 B
SQL

-- +goose Up
CREATE TABLE version_config
(
id VARCHAR(255) NOT NULL PRIMARY KEY,
config_id VARCHAR(255) NOT NULL,
config_version INT4 NOT NULL,
data JSONB NOT NULL DEFAULT '{}',
created_at TIMESTAMP NOT NULL DEFAULT (now() at time zone 'utc')
);
-- +goose Down
DROP TABLE version_config;