mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #510] [MERGED] Multidb - sqlite support #3251
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/510
Author: @tg44
Created: 7/19/2020
Status: ✅ Merged
Merged: 8/5/2020
Merged by: @jc21
Base:
develop← Head:multidb-re📝 Commits (3)
f8edeb2fixed migration and setupa9e7222introduced now_helper for multidb capabilities6690b77sqlite3 and psql support📊 Changes
19 files changed (+365 additions, -156 deletions)
View changed files
➕
backend/config/sqlite-test-db.json(+26 -0)📝
backend/db.js(+21 -13)📝
backend/migrations/20190227065017_settings.js(+0 -16)📝
backend/models/access_list.js(+4 -3)📝
backend/models/access_list_auth.js(+4 -3)📝
backend/models/access_list_client.js(+4 -3)📝
backend/models/audit-log.js(+4 -3)📝
backend/models/auth.js(+4 -3)📝
backend/models/certificate.js(+5 -4)📝
backend/models/dead_host.js(+4 -3)➕
backend/models/now_helper.js(+13 -0)📝
backend/models/proxy_host.js(+4 -3)📝
backend/models/redirection_host.js(+4 -3)📝
backend/models/stream.js(+4 -3)📝
backend/models/user.js(+4 -3)📝
backend/models/user_permission.js(+4 -3)📝
backend/package.json(+2 -0)📝
backend/setup.js(+122 -88)📝
backend/yarn.lock(+132 -2)📄 Description
I recreated this PR; https://github.com/jc21/nginx-proxy-manager/pull/256
Separated commits;
transaction in transactionconnection in connection problem in the migration, which causes problems on db-engines which has no multithread support (like sqlite3), also adds a minor refactor to the setup.jsknex-native) and let an experienced knex user to add some own knex-native configurations. Also, this commit showcases an sqlite3 config, and adds psql and sqlite3 libs.Probably fixes #185 and fixes #200
Missing things;
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.