added db migration, and serializer for rtdata
added db migration, and serializer for rtdata