# A (hopefully...) quick rake db:migrate question

**URL:** <https://www.ruby-forum.com/t/a-hopefully-quick-rake-db-migrate-question/183433>\
**Category:** Rails\
**Created:** [February 14, 2010, 1:16am UTC](https://www.ruby-forum.com/t/a-hopefully-quick-rake-db-migrate-question/183433 "2010-02-14T01:16:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 14, 2010, 1:16am UTC](https://www.ruby-forum.com/t/a-hopefully-quick-rake-db-migrate-question/183433/1 "2010-02-14T01:16:36Z")

</div>

Hey Folks,

RoR noob here with a quick question. I have added a field to a table  
using:  
ruby script/generate migration add\_price\_to\_product price:decimal,

and did: rake db:migrate afterwards.

no change was reflected in the “Views” though. I’m pretty sure i’m  
missing something here, can anyone give me a pointer?

Many Thanks…

John

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 14, 2010, 1:33am UTC](https://www.ruby-forum.com/t/a-hopefully-quick-rake-db-migrate-question/183433/2 "2010-02-14T01:33:00Z")

</div>

Hi John,

I think you’re expected to modify your view yourself. Migrations only  
create/modify your database schema and doesn’t touch anything else.

Warmest regards,  
David
