SQLITE Database Browser question

Is there a way to add another field to a blog(i.e. another text field)
using database browser. I was able to make the changes using the Sqlite
Database Browser and saved but the changes didn’t migrate over to my
app.

On Mon, Oct 29, 2012 at 4:17 PM, Lars [email protected] wrote:

Is there a way to add another field to a blog(i.e. another text field) using
database browser. I was able to make the changes using the Sqlite Database
Browser and saved but the changes didn’t migrate over to my app.

The proper Rails way to change your DB schema is using migrations,
not direct manipulation. Not only do you have a historical record of the
changes, it’s easier to make the exact same change to a staging or
production environment, or back out the change in development.

Regardless, if you want a new field to appear in your views, etc. you
have to add that code yourself.


Hassan S. ------------------------ [email protected]

twitter: @hassan