coder / coder/internal

Remove DisableForeignKeysAndTriggers from our test suite in coder/coder

Open
#856 0 comments 1 reaction 0 assignees View on GitHub
tech-debt
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

`DisableForeignKeysAndTriggers` was added to punt some of the work getting our tests running with Postgres instead of the in-memory database (which didn't support foreign key constraints and triggers).

Some of the uses, like in `dbauthz` should get replaced by the mock database, others should get fixed up to satisfay Postgres.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.