add index on goods created_at
All checks were successful
Build and push image / deploy (push) Successful in 2m15s
All checks were successful
Build and push image / deploy (push) Successful in 2m15s
This commit is contained in:
9
migrations/20231227185638_created_at_index.sql
Normal file
9
migrations/20231227185638_created_at_index.sql
Normal file
@ -0,0 +1,9 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
CREATE INDEX goods_created_at_idx ON goods (created_at);
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
DROP INDEX goods_created_at_idx;
|
||||
-- +goose StatementEnd
|
Reference in New Issue
Block a user