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.
 
 
 
 
 
 

16 lines
355 B

-- +goose Up
-- +goose StatementBegin
CREATE TABLE log (
log_id CHAR(16) PRIMARY KEY,
user_id CHAR(36) NOT NULL,
task_id CHAR(16) NOT NULL,
item_id CHAR(16) NOT NULL,
logged_time TIMESTAMP NOT NULL,
description TEXT NOT NULL
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE log;
-- +goose StatementEnd