Added index for character table and made it null false
Ran migration to add null false and index to character table