mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
[hw-8] attempt to fix tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE comments (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
id BIGINT PRIMARY KEY,
|
||||
user_id BIGINT NOT NULL,
|
||||
sku BIGINT NOT NULL,
|
||||
text VARCHAR(255) NOT NULL,
|
||||
@@ -12,5 +12,3 @@ CREATE INDEX user_id_idx ON comments(user_id, created_at DESC);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE comments;
|
||||
DROP INDEX sku_idx;
|
||||
DROP INDEX user_id_idx;
|
||||
Reference in New Issue
Block a user