Monorepo for Tangled tangled.org

appview/db: remove foreign key constraint between collections #995

open opened by boltless.me targeting master from sl/sqkrqopzkvoo

Appview cannot modify the user-owned record on repository deletion

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mcsfwwhtn622
+8 -8
Interdiff #0 #1
+8 -8
appview/db/db.go
··· 1173 1173 return err 1174 1174 }) 1175 1175 1176 + return &DB{ 1177 + db, 1178 + logger, 1179 + 1180 + 1181 + return err 1182 + }) 1183 + 1176 1184 // we cannot modify user-owned record on repository delete 1177 1185 orm.RunMigration(conn, logger, "remove-foreign-key-profile_pinned_repositories-and-repos", func(tx *sql.Tx) error { 1178 1186 _, err := tx.Exec(` ··· 1196 1204 return err 1197 1205 }) 1198 1206 1199 - return &DB{ 1200 - db, 1201 - logger, 1202 - 1203 - 1204 - return err 1205 - }) 1206 - 1207 1207 return &DB{ 1208 1208 db, 1209 1209 logger,

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/db: remove foreign key constraint between collections
2/3 failed, 1/3 success
expand
merge conflicts detected
expand
  • appview/pages/markup/markdown.go:47
  • appview/pages/pages.go:57
  • appview/validator/label.go:1
expand 0 comments
1 commit
expand
appview/db: remove foreign key constraint between collections
3/3 failed
expand
expand 0 comments