SynaptitudeBrainHealth / synap-epics

For ZenHub this serves as the default repository containing all issues. This is the "default repository".
1 stars 0 forks source link

DB | Fixes for First Live Deployment #36

Closed russellwjoel closed 4 years ago

russellwjoel commented 5 years ago

The intention is to add certain tickets to a db features and perform a fresh alembic history. Addressing some of the current db shortfalls.

ORM

FitbitTokens .

GENERAL

russellwjoel commented 5 years ago

standardize table names. cognifit extend for . forms , fitbit_

russellwjoel commented 5 years ago

change in_use to is_active in questions table

russellwjoel commented 5 years ago

nullable: defaultanswer, , questionSubText, dependant outcome

russellwjoel commented 5 years ago

Answers remove

Unique Constraints

__table_args__ = (db.UniqueConstraint('question_response_id', 'user_id', name='_user_response'),)
russellwjoel commented 5 years ago

question_options -> question_responses