You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
440 B
19 lines
440 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE log (
|
|
id TEXT NOT NULL PRIMARY KEY,
|
|
short_id TEXT NOT NULL UNIQUE,
|
|
character_ids TEXT[] NOT NULL,
|
|
date TIMESTAMP NOT NULL,
|
|
channel_name TEXT NOT NULL,
|
|
event_name TEXT NOT NULL,
|
|
title TEXT NOT NULL,
|
|
description TEXT NOT NULL,
|
|
open BOOLEAN NOT NULL
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE log;
|
|
-- +goose StatementEnd
|