some fixes on related names. rename tick for trade.
fix migrations