Monorepo for Tangled tangled.org
858
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview/db,models: add repo_did columns and update model structs #272

open opened by oyster.cafe targeting master from lt/repo-rename-by-rkey
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:3fwecdnvtcscjnrx2p4n7alz/sh.tangled.repo.pull/3mjm6w2jguo22
+46 -46
Interdiff #7 #8
+46 -46
appview/db/db.go
··· 665 665 create index if not exists idx_notifications_recipient_read on notifications(recipient_did, read); 666 666 create index if not exists idx_references_from_at on reference_links(from_at); 667 667 create index if not exists idx_references_to_at on reference_links(to_at); 668 + create index if not exists idx_webhooks_repo_at on webhooks(repo_at); 668 669 create index if not exists idx_webhook_deliveries_webhook_id on webhook_deliveries(webhook_id); 670 + create index if not exists idx_site_deploys_repo_at on site_deploys(repo_at); 669 671 create index if not exists idx_newsletter_prefs_user_did on newsletter_preferences(user_did); 670 672 `) 671 673 if err != nil { ··· 680 682 create index if not exists idx_notifications_recipient_read on notifications(recipient_did, read); 681 683 create index if not exists idx_references_from_at on reference_links(from_at); 682 684 create index if not exists idx_references_to_at on reference_links(to_at); 683 - create index if not exists idx_webhooks_repo_at on webhooks(repo_at); 684 685 create index if not exists idx_webhook_deliveries_webhook_id on webhook_deliveries(webhook_id); 685 - create index if not exists idx_site_deploys_repo_at on site_deploys(repo_at); 686 686 create index if not exists idx_newsletter_prefs_user_did on newsletter_preferences(user_did); 687 687 `) 688 688 if err != nil { ··· 1462 1462 return err 1463 1463 }) 1464 1464 1465 + return &DB{ 1466 + db, 1467 + logger, 1468 + 1469 + 1470 + 1471 + 1472 + 1473 + 1474 + 1475 + 1476 + 1477 + 1478 + 1479 + 1480 + 1481 + 1482 + 1483 + 1484 + 1485 + 1486 + 1487 + 1488 + 1489 + 1490 + 1491 + 1492 + 1493 + 1494 + 1495 + 1496 + 1497 + 1498 + 1499 + 1500 + 1501 + 1502 + 1503 + 1504 + 1505 + 1506 + }) 1507 + conn.ExecContext(ctx, "pragma foreign_keys = on;") 1508 + 1465 1509 orm.RunMigration(conn, logger, "add-repo-renames", func(tx *sql.Tx) error { 1466 1510 res, err := tx.Exec(` 1467 1511 update repos ··· 1875 1919 }) 1876 1920 conn.ExecContext(ctx, "pragma foreign_keys = on;") 1877 1921 1878 - return &DB{ 1879 - db, 1880 - logger, 1881 - 1882 - 1883 - 1884 - 1885 - 1886 - 1887 - 1888 - 1889 - 1890 - 1891 - 1892 - 1893 - 1894 - 1895 - 1896 - 1897 - 1898 - 1899 - 1900 - 1901 - 1902 - 1903 - 1904 - 1905 - 1906 - 1907 - 1908 - 1909 - 1910 - 1911 - 1912 - 1913 - 1914 - 1915 - 1916 - 1917 - 1918 - 1919 - }) 1920 - conn.ExecContext(ctx, "pragma foreign_keys = on;") 1921 - 1922 1922 return &DB{ 1923 1923 db, 1924 1924 logger,
appview/models/artifact.go

This file has not been changed.

appview/models/collaborator.go

This file has not been changed.

appview/models/issue.go

This file has not been changed.

appview/models/language.go

This file has not been changed.

appview/models/pull.go

This file has not been changed.

appview/models/repo.go

This file has not been changed.

appview/models/repo_test.go

This file has not been changed.

appview/models/search.go

This file has not been changed.

appview/models/search_test.go

This file has not been changed.

appview/models/site_deploy.go

This file has not been changed.

appview/models/sites.go

This file has not been changed.

appview/models/star.go

This file has not been changed.

appview/models/webhook.go

This file has not been changed.

orm/orm.go

This file has not been changed.

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/db,models: add repo_did columns and update model structs
merge conflicts detected
expand
  • api/tangled/cbor_gen.go:866
  • api/tangled/feedstar.go:5
  • api/tangled/gitrefUpdate.go:29
  • api/tangled/repocollaborator.go:19
  • api/tangled/repoissue.go:22
  • api/tangled/repopull.go:39
  • api/tangled/tangledrepo.go:24
  • cmd/cborgen/cborgen.go:17
  • knotserver/xrpc/merge.go:118
  • lexicons/feed/star.json:10
  • lexicons/git/refUpdate.json:11
  • lexicons/issue/issue.json:9
  • lexicons/pulls/pull.json:65
  • lexicons/repo/collaborator.json:11
  • lexicons/repo/repo.json:6
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments
1 commit
expand
appview/db,models: add repo_did columns and update model structs
expand 0 comments