Skip to content

Commit af3f03a

Browse files
committed
fix: Group card can be null if user set nothing
1 parent 05a57b9 commit af3f03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/0004_create_group_member_table.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CREATE TABLE "group_members" (
33
"id" INTEGER PRIMARY KEY AUTOINCREMENT,
44
"group_id" INTEGER NOT NULL,
55
"user_id" INTEGER NOT NULL,
6-
"card_name" TEXT NOT NULL,
6+
"card_name" TEXT,
77
"role" TEXT NOT NULL,
88
UNIQUE ("group_id", "user_id")
99
)

0 commit comments

Comments
 (0)