tangled
alpha
login
or
join now
moth11.net
/
rvcx
3
fork
atom
backend for xcvr appview
3
fork
atom
overview
issues
4
pulls
pipelines
yep yep
moth11.net
5 months ago
2c6b9b31
9e13ff65
+2
-2
1 changed file
expand all
collapse all
unified
split
server
internal
db
lexicon.go
+2
-2
server/internal/db/lexicon.go
···
289
289
}
290
290
291
291
func (s *Store) StoreImage(image *types.Image, ctx context.Context) error {
292
292
-
_, err := s.pool.Exec(ctx, `INSERT INTO medias (
292
292
+
_, err := s.pool.Exec(ctx, `INSERT INTO images (
293
293
uri,
294
294
did,
295
295
signet_uri,
···
367
367
}
368
368
369
369
func (s *Store) GetImage(uri string, ctx context.Context) (*types.Image, error) {
370
370
-
row := s.pool.QueryRow(ctx, `SELECT FROM medias (
370
370
+
row := s.pool.QueryRow(ctx, `SELECT FROM images (
371
371
did,
372
372
signet_uri,
373
373
blob_cid,