nim-lang / nimforum

Lightweight alternative to Discourse written in Nim
https://forum.nim-lang.org/
MIT License
764 stars 70 forks source link

Feature request: Postgres support #60

Open Heartmender opened 9 years ago

Heartmender commented 9 years ago

I'd like to deploy a modified nimforum to a website, but I would like it to support the immutable infrastructure patterns I've been setting up my infrastructure around. Would it be possible to add support for Nimforum to connect to Posgres servers instead of just using SQLite?

dom96 commented 9 years ago

Sure, just s/import db_sqlite/import db_postgres/. You might need to change some other things too, but those modules are the same on purpose, so it should just work.