Change api_id to string
Remove text column from petitions table
Rename type column on petitions

* Resolve ActiveRecord column name conflict