Replace database methods with peewee ORM #39

Merged
osilkin98 merged 26 commits from orm-rewrite into master 2020-04-03 23:40:43 +02:00
osilkin98 commented 2020-04-03 20:49:33 +02:00 (Migrated from github.com)
  • replaces hard-coded SQLite database operations with an ORM for database scalability
  • usage of SQLite is limited to running unit-tests locally
  • Production & Travis both run MySQL
  • channels are prevented from making duplicate comments within 60 seconds
  • docker-compose is now used to start the MySQL server
  • config is now done using yaml instead of json
  • comment_list now features a much greater range of functionality:
    • fields can be specified
    • conditions on the search is more customized
    • just look at the code

closes #10

- replaces hard-coded SQLite database operations with an ORM for database scalability - usage of SQLite is limited to running unit-tests locally - Production & Travis both run MySQL - channels are prevented from making duplicate comments within 60 seconds - docker-compose is now used to start the MySQL server - config is now done using `yaml` instead of `json` - `comment_list` now features a much greater range of functionality: - fields can be specified - conditions on the search is more customized - just look at the code closes #10
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/comment-server#39
No description provided.