Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable database #9

Merged
merged 16 commits into from
May 26, 2020
Merged

Configurable database #9

merged 16 commits into from
May 26, 2020

Conversation

nahuelhds
Copy link
Owner

IMPORTANT. Do not merge yet. I'll be testing this in the real world today

Now the database connection is handled with the db property directly and using URL database connections. If no db prop is defined, the value sqlite:///diffengine.db is used in order to maintain compatibility.

With this method, you can use MySQL, PostgreSQL or any other engine supported by peewee.
More info about database url connections here

Non related

I've create a suite for the feed tests and I've independizate them as well for easier testing

@nahuelhds nahuelhds force-pushed the feature/configurable-database branch from 46d8bbd to 7f168c8 Compare May 26, 2020 00:55
@nahuelhds nahuelhds merged commit a15b052 into master May 26, 2020
@nahuelhds nahuelhds deleted the feature/configurable-database branch June 2, 2020 23:25
@nahuelhds nahuelhds restored the feature/configurable-database branch June 3, 2020 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant