added migrations
Verified raw sql datatype and corrected
Generated schema by running rake db:migrate