change db from sqlite3 to postgresql
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
CREATE TABLE responses (
|
||||
url VARCHAR(255) NOT NULL UNIQUE PRIMARY KEY,
|
||||
content TEXT NOT NULL,
|
||||
fetchDate DATETIME DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DROP TABLE responses;
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user