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.
18 lines
407 B
18 lines
407 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE data_change (
|
|
id TEXT NOT NULL PRIMARY KEY,
|
|
model TEXT NOT NULL,
|
|
op TEXT NOT NULL,
|
|
author TEXT NOT NULL,
|
|
listed BOOLEAN NOT NULL,
|
|
date TIMESTAMP NOT NULL,
|
|
keys TEXT[] NOT NULL,
|
|
objects JSONB NOT NULL
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE IF EXISTS data_change;
|
|
-- +goose StatementEnd
|