Last active
August 29, 2015 14:06
-
-
Save sameera207/58cbb30ed37ace9ea115 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== Rails migrations === | |
In ruby/rails projects , the standard way of hadling database changes (add/edit tables, add/edit columns etc..) | |
through the migrations. this way we can hadle database changes easily. | |
=== where are the migrations === | |
migrations are in the following folder | |
```ruby | |
<rails project folder>/db/migrate | |
``` | |
Ex: Say we want to create a table as follows | |
id|name | |
--|---- | |
1 | sam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment