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