Files
threshold/internal/db/schema/migrations/oss/postgres/45/01_credentials.up.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
332 B
PL/PgSQL
Raw Normal View History

2023-02-02 17:15:17 -08:00
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
2022-07-20 16:24:46 -07:00
begin;
alter table credential_store
add constraint iam_scope_project_fkey
foreign key (project_id)
references iam_scope_project (scope_id)
on delete cascade
on update cascade,
drop constraint iam_scope_fkey
;
commit;