Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1af0ac

Browse files
committed
add unique index
1 parentcc4086c commitf1af0ac

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

‎coderd/database/dump.sql

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CREATETABLEuser_pinned_workspaces (
22
user_id uuidNOT NULL,
3-
workspace_id uuidNOT NULL
3+
workspace_id uuidNOT NULL,
4+
UNIQUE(user_id, workspace_id)
45
);

‎coderd/database/unique_constraint.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp