opengovfoundation / madison

Madison is a platform for lawmakers to share legislation with their citizens, allowing the community to add comments and suggest improvements.
GNU General Public License v3.0
684 stars 108 forks source link

Mark any existing replies to notes as notes #1039

Closed doshitan closed 8 years ago

doshitan commented 8 years ago

This was an oversight in the original migration unifying all our comment stuff.

@krues8dr @sethetter

sethetter commented 8 years ago

+1

krusynth commented 8 years ago

I'm ok with this, but it's definitely not the most efficient way to achieve these ends. A better way would be to use the syntax:

ItemTable::where('item_type_id', '=', 1)->update(['colour' => 'black']);