# Migrations

**URL:** <https://www.ruby-forum.com/t/migrations/112679>\
**Category:** Rails\
**Created:** [August 22, 2007, 3:03am UTC](https://www.ruby-forum.com/t/migrations/112679 "2007-08-22T03:03:15Z")\
**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:** [August 22, 2007, 3:03am UTC](https://www.ruby-forum.com/t/migrations/112679/1 "2007-08-22T03:03:15Z")

</div>

newbie here. I’m trying to understand/figure out migrations. In  
reading AWDR would you create migrations at the point in the book demo  
where they manually create the db? So instead of manually creating  
this the db would be created by the migration setup? And how does the  
granting of permissions take place. Do you still have to do that  
manually?

---

<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:** [August 22, 2007, 3:05am UTC](https://www.ruby-forum.com/t/migrations/112679/2 "2007-08-22T03:05:15Z")

</div>

You will need to create the database and setup the permissions manually.  
Use migrations to create tables, columns, indexes, etc.

Hope this helps.

removed\_email\_address@domain.invalid wrote:

> newbie here. I’m trying to understand/figure out migrations. In  
> reading AWDR would you create migrations at the point in the book demo  
> where they manually create the db? So instead of manually creating  
> this the db would be created by the migration setup? And how does the  
> granting of permissions take place. Do you still have to do that  
> manually?
> 
> >

–  
Sincerely,

William P.
