mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-10 17:19:56 +08:00
6 lines
287 B
MySQL
6 lines
287 B
MySQL
|
-- +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
|