[GH-ISSUE #445] switch from sqlite to postgresql #322

Open
opened 2026-02-26 10:30:50 +03:00 by kerem · 3 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Dec 27, 2019).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/445

Originally assigned to: @ThomasWaldmann on GitHub.

postgres.int :: /etc/postgres/.../pg_hba.conf is ansible managed

... so i need to update ansible files to not lose my changes (nsupdate_info db host rule).

Originally created by @ThomasWaldmann on GitHub (Dec 27, 2019). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/445 Originally assigned to: @ThomasWaldmann on GitHub. postgres.int :: /etc/postgres/.../pg_hba.conf is ansible managed ... so i need to update ansible files to not lose my changes (nsupdate_info db host rule).
Author
Owner

@ThomasWaldmann commented on GitHub (Dec 27, 2019):

https://gist.github.com/sirodoht/f598d14e9644e2d3909629a41e3522ad maybe helpful.

<!-- gh-comment-id:569324755 --> @ThomasWaldmann commented on GitHub (Dec 27, 2019): https://gist.github.com/sirodoht/f598d14e9644e2d3909629a41e3522ad maybe helpful.
Author
Owner

@ThomasWaldmann commented on GitHub (Dec 27, 2019):

https://django-extensions.readthedocs.io/en/latest/dumpscript.html

<!-- gh-comment-id:569327028 --> @ThomasWaldmann commented on GitHub (Dec 27, 2019): https://django-extensions.readthedocs.io/en/latest/dumpscript.html
Author
Owner

@ThomasWaldmann commented on GitHub (Dec 30, 2019):

Creating a fake django_session table to make dumpdata happy:

create table django_session(session_key, session_data, expire_date);
<!-- gh-comment-id:569681640 --> @ThomasWaldmann commented on GitHub (Dec 30, 2019): Creating a fake django_session table to make `dumpdata` happy: ``` create table django_session(session_key, session_data, expire_date); ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#322
No description provided.