healthlocker / oxleas-adhd

https://focus.headscapegreenwich.co.uk/
8 stars 0 forks source link

Refactor database setup for School feedback #292

Closed RobStallion closed 6 years ago

RobStallion commented 6 years ago

Refactor database setup for School feedback to make it more reusable and less repetitive.

Relates to this

katbow commented 6 years ago

Is there a change/decision for this yet? I had a quick look.

Suggest something like :p & :q as their own fields (named in full for clarity as type :integer), :user_id & :last_updated_by as is, and add another field for the content/body as type :text. Brings it down to 5 fields to deal with ✌️

iteles commented 6 years ago

@katbow That's exactly along the lines of what we were thinking 👌 🎉 Makes everything a lot more flexible for future use!