mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #256] [CLOSED] [WIP] added experimental multidb support #3209
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#3209
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/256
Author: @tg44
Created: 12/15/2019
Status: ❌ Closed
Base:
master← Head:multidb5📝 Commits (1)
bac0de7added experimental multidb support📊 Changes
20 files changed (+213 additions, -114 deletions)
View changed files
➕
.dockerignore(+7 -0)📝
Dockerfile(+11 -9)📝
doc/INSTALL.md(+35 -0)📝
package.json(+4 -2)📝
src/backend/db.js(+21 -13)📝
src/backend/migrations/20180929054513_websockets.js(+1 -1)📝
src/backend/migrations/20190227065017_settings.js(+0 -16)📝
src/backend/models/access_list.js(+4 -3)📝
src/backend/models/access_list_auth.js(+4 -3)📝
src/backend/models/audit-log.js(+4 -3)📝
src/backend/models/auth.js(+4 -3)📝
src/backend/models/certificate.js(+5 -4)📝
src/backend/models/dead_host.js(+4 -3)➕
src/backend/models/now_helper.js(+15 -0)📝
src/backend/models/proxy_host.js(+4 -3)📝
src/backend/models/redirection_host.js(+4 -3)📝
src/backend/models/stream.js(+4 -3)📝
src/backend/models/user.js(+4 -3)📝
src/backend/models/user_permission.js(+4 -3)📝
src/backend/setup.js(+74 -39)📄 Description
It's probably not a single-commit change, but I will summarize what I done;
knex-nativeengine (db.jsandinstall.md)20190227065017_settings.js)setup.js)now_helpernow_helperinstead of theModel.rawIf you want atomic commits I think the correct steps would be:
It is working with sqlite3 right now. I didn't test mysql, and pg. (Also probably would be nice to make the compose stack to support examples to all three and add default configs to all three.)
(I love the idea and the functionality BTW, really nice app!)
Probably fixes #185 and fixes #200
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.