How many days did the riot on which Detroit was based lasted?