mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-10 17:19:56 +08:00
5 lines
No EOL
216 B
SQL
5 lines
No EOL
216 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
ALTER TABLE teldrive.uploads DROP CONSTRAINT IF EXISTS uploads_pk;
|
|
ALTER TABLE teldrive.uploads ADD CONSTRAINT uploads_pk PRIMARY KEY (part_id,channel_id);
|
|
-- +goose StatementEnd |