stufflog graphql server
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.
 
 
 

17 lines
335 B

-- +goose Up
-- +goose StatementBegin
CREATE TABLE log (
log_id CHAR(24) NOT NULL PRIMARY KEY,
user_id CHAR(32) NOT NULL,
date TIMESTAMP NOT NULL,
description TEXT NOT NULL,
INDEX (user_id),
INDEX (date)
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE log;
-- +goose StatementEnd