mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 03:46:29 -05:00
Remove stale Postgres references after SQLite cutover.
Drop .pgpass handling, Postgres ownership repairs, and the docker db container viewability rules. Update comments and pi-gen map docs for SQLite/PMTiles. Help submodule documents the new database layout.
This commit is contained in:
parent
698e61be34
commit
4cafb9f00e
12 changed files with 23 additions and 40 deletions
|
|
@ -136,7 +136,7 @@ async def test_archives_search_headline(test_session, archive_directory, archive
|
|||
request, response = await async_client.post('/api/archive/search', content=json.dumps(content))
|
||||
assert response.status_code == HTTPStatus.OK
|
||||
|
||||
# Postgresql uses <b>...</b> to highlight matching words.
|
||||
# FTS headlines use <b>...</b> to highlight matching words.
|
||||
assert response.json['file_groups'][0]['d_headline'] == '<b>foo</b> baz qux qux'
|
||||
assert response.json['file_groups'][1]['d_headline'] == '<b>foo</b> bar qux'
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class Video(ModelHelper, Base):
|
|||
Index('video_channel_id_idx', 'channel_id'),
|
||||
Index('video_source_id_idx', 'source_id'),
|
||||
Index('video_view_count_idx', 'view_count'),
|
||||
# Do not reuse ids of deleted Videos (like Postgres sequences).
|
||||
# Do not reuse ids of deleted Videos (AUTOINCREMENT keeps a sequence table).
|
||||
{'sqlite_autoincrement': True},
|
||||
)
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue