Galarzaa90 / NabBot

Discord bot for Tibia servers
https://nabbot.xyz
Apache License 2.0
52 stars 25 forks source link

Replace sqlite3 with postgresql #88

Closed Galarzaa90 closed 5 years ago

Galarzaa90 commented 6 years ago

The idea is to replace sqlite3 with an implementation that supports asynchronous operations to avoid blocking the main loop and follow discord.py conventions.

Now that NabBot is open for the public to invite to their servers, a increase of the database is expected. A migration to postgresql is recommended.

However, compared to sqlite, postgresql is harder to install and mantain, increasing the difficulty on self-hosted NabBot instances. Not to mention this will be a completely breaking change.

Progress

Migration

Optimization and refactoring

New features

Galarzaa90 commented 5 years ago

This is being worked on branch feat-postgresql