Fixed clash when clear database.
Added network to ChannelRoutesSpec.
Fixed can't join channel.
Added migrate script.