adding summarization and restructure project
This commit is contained in:
13
golang/assets/migrations/20250103140557_response_cache.sql
Normal file
13
golang/assets/migrations/20250103140557_response_cache.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
CREATE TABLE responses (
|
||||
url VARCHAR(255) NOT NULL UNIQUE PRIMARY KEY,
|
||||
content BYTEA NOT NULL,
|
||||
fetchDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DROP TABLE IF EXISTS responses;
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user