Signed-off-by: Seongmin Lee git@boltless.me
-14
appview/db/db.go
-14
appview/db/db.go
···
1451
1451
return err
1452
1452
})
1453
1453
1454
-
orm.RunMigration(conn, logger, "migrate-legacy-comments", func(tx *sql.Tx) error {
1455
-
_, err := tx.Exec(`
1456
-
insert into pds_migration (name, did, collection, rkey)
1457
-
select
1458
-
'use-feed-comment',
1459
-
did,
1460
-
collection,
1461
-
rkey
1462
-
from comments
1463
-
where collection <> 'sh.tangled.feed.comment';
1464
-
`)
1465
-
return err
1466
-
})
1467
-
1468
1454
orm.RunMigration(conn, logger, "unify-pds-record-migration-table", func(tx *sql.Tx) error {
1469
1455
_, err := tx.Exec(`
1470
1456
insert into pds_migration (
appview/db/repos.go
appview/db/repos.go
This file has not been changed.
appview/ingester.go
appview/ingester.go
This file has not been changed.
appview/oauth/handler.go
appview/oauth/handler.go
This file has not been changed.
appview/state/router.go
appview/state/router.go
This file has not been changed.
History
2 rounds
0 comments
boltless.me
submitted
#1
1 commit
expand
collapse
appview: unify pds record migration
Signed-off-by: Seongmin Lee <git@boltless.me>
merge conflicts detected
expand
collapse
expand
collapse
- appview/db/repos.go:1
- appview/ingester.go:70
- appview/oauth/handler.go:13
- appview/state/router.go:38
expand 0 comments
boltless.me
submitted
#0
1 commit
expand
collapse
appview: unify pds record migration
Signed-off-by: Seongmin Lee <git@boltless.me>