.
added default scope order
fixed migrations