Fixed column name collision on stories table

Renamed the column 'type' in the 'stories' table to 'story_type' due to name collision problems.